org.apache.mina.filter.codec.demux
Class MessageDecoderAdapter
java.lang.Object
org.apache.mina.filter.codec.demux.MessageDecoderAdapter
- All Implemented Interfaces:
- MessageDecoder
public abstract class MessageDecoderAdapter
- extends Object
- implements MessageDecoder
An abstract MessageDecoder
implementation for those who don't need to
implement MessageDecoder.finishDecode(IoSession, ProtocolDecoderOutput)
method.
- Author:
- The Apache Directory Project (mina-dev@directory.apache.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageDecoderAdapter
public MessageDecoderAdapter()
finishDecode
public void finishDecode(IoSession session,
ProtocolDecoderOutput out)
throws Exception
- Override this method to deal with the closed connection.
The default implementation does nothing.
- Specified by:
finishDecode
in interface MessageDecoder
- Throws:
Exception
- if the read data violated protocol specification
Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.