public interface Message
Note to plugin implementations: This must have a publicly accessible no-args constructor.
Modifier and Type | Method and Description |
---|---|
void |
readFrom(ChannelBuf buf)
Read the data from the channel buffer into this message.
|
void |
writeTo(ChannelBuf buf)
Write the data from this message to the channel buffer.
|
void readFrom(ChannelBuf buf)
buf
- The buffer to read fromvoid writeTo(ChannelBuf buf)
buf
- The buffer to write to