public 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 and Description |
---|
MessageDecoderAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
finishDecode(IoSession session,
ProtocolDecoderOutput out)
Override this method to deal with the closed connection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decodable, decode
public void finishDecode(IoSession session, ProtocolDecoderOutput out) throws java.lang.Exception
finishDecode
in interface MessageDecoder
java.lang.Exception
- if the read data violated protocol specificationCopyright © 2004-2019 Apache MINA Project. All Rights Reserved.