Package com.jme3.network.base
Interface MessageProtocol
- All Known Implementing Classes:
- SerializerMessageProtocol
public interface MessageProtocol
Consolidates the conversion of messages to/from byte buffers
  and provides a rolling message buffer.  ByteBuffers can be
  pushed in and messages will be extracted, accumulated, and 
  available for retrieval.  The MessageBuffers returned are generally
  not thread safe and are meant to be used within a single message 
  processing thread.  MessageProtocol implementations themselves should
  be thread safe.
  
The specific serialization protocol used is up to the implementation.
- 
Method SummaryModifier and TypeMethodDescriptiontoByteBuffer(Message message, ByteBuffer target) toMessage(ByteBuffer bytes) 
- 
Method Details- 
toByteBuffer
- 
toMessage
- 
createBufferMessageBuffer createBuffer()
 
-