Interface IPayloadHandler<T extends CustomPacketPayload>
- Type Parameters:
 T- The type of payload.
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
Callback for handling custom packets.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(T payload, IPayloadContext context) Invoked to handle the given payload in the given context. 
- 
Method Details
- 
handle
Invoked to handle the given payload in the given context.- Parameters:
 payload- The payload.context- The context.
 
 -