MessageDecoderpublic abstract class MessageDecoderAdapter extends java.lang.Object implements MessageDecoder
MessageDecoder implementation for those who don't need to
implement MessageDecoder.finishDecode(IoSession, ProtocolDecoderOutput)
method.NEED_DATA, NOT_OK, OK| Constructor | Description |
|---|---|
MessageDecoderAdapter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
finishDecode(IoSession session,
ProtocolDecoderOutput out) |
Override this method to deal with the closed connection.
|
decodable, decodepublic void finishDecode(IoSession session, ProtocolDecoderOutput out) throws java.lang.Exception
finishDecode in interface MessageDecoderjava.lang.Exception - if the read data violated protocol specification