public class FrameDecoder extends CumulativeProtocolDecoder
Constructor and Description |
---|
FrameDecoder() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doDecode(IoSession session,
IoBuffer data,
ProtocolDecoderOutput output)
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 output) throws Exception
CumulativeProtocolDecoder
doDecode
in class CumulativeProtocolDecoder
data
- the cumulative bufferException
- if cannot decode in.