- All Implemented Interfaces:
- DecoderProvider
public class SbeDecoderProvider
extends java.lang.Object
implements DecoderProvider
After reading bytes from the socket to the receiveByteBuffer ByteBuffer, this class will
in order,
- determines if are enough bytes for the next message header
- from the message header determines if there are enough bytes available for the whole messages
- from the message header determines which decoder to use and wraps the bytes
- dispatch the header and message to the MessageHandler.
- repeat as long as there are enough bytes for the next message