Message to and from a ByteBuffer
allowing a higher-level protocol (e.g. STOMP over TCP) to plug in.
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: 0 or more decoded messagesthe input buffer to decode from buffer)Decode the input |
| public ByteBuffer | Returns: the encoded bufferthe message to encode message)Encode the given |
| decode | back to summary |
|---|---|
| public List Decode the input
| |
| encode | back to summary |
|---|---|
| public ByteBuffer encode(Message<P> message) Encode the given
| |