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.
@FunctionalInterface public interface RawPlayDataHandler<C extends EngineConnection>
Represents a listener for data being sent to a raw channel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handlePayload(ChannelBuf data, C connection)
Handles the givenChannelBuf
data sent by a remote connection.
-
-
-
Method Detail
-
handlePayload
void handlePayload(ChannelBuf data, C connection)
Handles the givenChannelBuf
data sent by a remote connection.- Parameters:
data
- The raw dataconnection
- The remote connection
-
-