public class ProtocolDecoderImpl extends CumulativeProtocolDecoder
Constructor and Description |
---|
ProtocolDecoderImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doDecode(IoSession session,
IoBuffer data,
ProtocolDecoderOutput out)
Implement this method to consume the specified cumulative buffer and
decode its content into message(s).
|
decode, dispose
finishDecode
protected boolean doDecode(IoSession session, IoBuffer data, ProtocolDecoderOutput out) throws Exception
CumulativeProtocolDecoder
doDecode
in class CumulativeProtocolDecoder
data
- the cumulative bufferException
- if cannot decode in.