|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.filter.codec.demux.MessageDecoderAdapter
public abstract class MessageDecoderAdapter
An abstract MessageDecoder
implementation for those who don't need to
implement MessageDecoder.finishDecode(IoSession, ProtocolDecoderOutput)
method.
Field Summary |
---|
Fields inherited from interface org.apache.mina.filter.codec.demux.MessageDecoder |
---|
NEED_DATA, NOT_OK, OK |
Constructor Summary | |
---|---|
MessageDecoderAdapter()
|
Method Summary | |
---|---|
void |
finishDecode(IoSession session,
ProtocolDecoderOutput out)
Override this method to deal with the closed connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.mina.filter.codec.demux.MessageDecoder |
---|
decodable, decode |
Constructor Detail |
---|
public MessageDecoderAdapter()
Method Detail |
---|
public void finishDecode(IoSession session, ProtocolDecoderOutput out) throws java.lang.Exception
finishDecode
in interface MessageDecoder
java.lang.Exception
- if the read data violated protocol specification
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |