public interface MessageProtocol
The specific serialization protocol used is up to the implementation.
Modifier and Type | Method and Description |
---|---|
MessageBuffer |
createBuffer() |
java.nio.ByteBuffer |
toByteBuffer(Message message,
java.nio.ByteBuffer target) |
Message |
toMessage(java.nio.ByteBuffer bytes) |
java.nio.ByteBuffer toByteBuffer(Message message, java.nio.ByteBuffer target)
Message toMessage(java.nio.ByteBuffer bytes)
MessageBuffer createBuffer()