public class ResultMessageDecoder extends AbstractMessageDecoder
MessageDecoder
that decodes ResultMessage
.NEED_DATA, NOT_OK, OK
构造器和说明 |
---|
ResultMessageDecoder() |
限定符和类型 | 方法和说明 |
---|---|
protected AbstractMessage |
decodeBody(IoSession session,
ByteBuffer in) |
void |
finishDecode(IoSession session,
ProtocolDecoderOutput out)
Invoked when the specified session is closed while this decoder was
parsing the data.
|
decodable, decode
protected AbstractMessage decodeBody(IoSession session, ByteBuffer in)
decodeBody
在类中 AbstractMessageDecoder
public void finishDecode(IoSession session, ProtocolDecoderOutput out) throws java.lang.Exception
MessageDecoder
MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput)
method didn't process
completely.java.lang.Exception
- if the read data violated protocol specification