@FunctionalInterface public interface RawDataListener
Modifier and Type | Method and Description |
---|---|
void |
handlePayload(ChannelBuf data,
RemoteConnection connection,
Platform.Type side)
Handles the given
ChannelBuf data sent by a remote connection. |
void handlePayload(ChannelBuf data, RemoteConnection connection, Platform.Type side)
ChannelBuf
data sent by a remote connection.data
- The raw dataconnection
- The remote connectionside
- The side the data was received on (
Platform.Type.CLIENT
or Platform.Type.SERVER
)