public class GMPPProtocolDecoder extends CumulativeProtocolDecoder implements GMPPProtocol
HEADER_SIZE, VT_BOOLEAN, VT_DOUBLE, VT_INTEGER, VT_LIST, VT_LONG, VT_MAP, VT_STRING, VT_VOID| Constructor and Description |
|---|
GMPPProtocolDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doDecode(IoSession session,
IoBuffer inputBuffer,
ProtocolDecoderOutput out)
Implement this method to consume the specified cumulative buffer and
decode its content into message(s).
|
decode, disposefinishDecodeprotected boolean doDecode(IoSession session, IoBuffer inputBuffer, ProtocolDecoderOutput out) throws Exception
CumulativeProtocolDecoderdoDecode in class CumulativeProtocolDecoderinputBuffer - the cumulative bufferException - if cannot decode in.