Interface RawPlayDataHandler<C extends EngineConnection>
- Type Parameters:
C
- The connection type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a listener for data being sent to a raw channel.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handlePayload
(ChannelBuf data, C connection) Handles the givenChannelBuf
data sent by a remote connection.
-
Method Details
-
handlePayload
Handles the givenChannelBuf
data sent by a remote connection.- Parameters:
data
- The raw dataconnection
- The remote connection
-