Interface RawPlayDataHandler<S extends EngineConnectionState>
- Type Parameters:
S- The connection state
- 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 TypeMethodDescriptionvoidhandlePayload(ChannelBuf data, S state) Handles the givenChannelBufdata sent by a remote connection.
-
Method Details
-
handlePayload
Handles the givenChannelBufdata sent by a remote connection.- Parameters:
data- The raw datastate- The remote state
-