org.apache.mina.filter.codec
Class ProtocolEncoderAdapter
java.lang.Object
org.apache.mina.filter.codec.ProtocolEncoderAdapter
- All Implemented Interfaces:
- ProtocolEncoder
- Direct Known Subclasses:
- ObjectSerializationEncoder, TextLineEncoder
public abstract class ProtocolEncoderAdapter
- extends Object
- implements ProtocolEncoder
An abstract ProtocolEncoder
implementation for those who don't have any
resources to dispose.
- Version:
- $Rev: 555855 $, $Date: 2007-07-13 05:19:00 +0200 (Fr, 13. Jul 2007) $
- Author:
- The Apache Directory Project (mina-dev@directory.apache.org)
Method Summary |
void |
dispose(IoSession session)
Override this method dispose all resources related with this encoder. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtocolEncoderAdapter
public ProtocolEncoderAdapter()
dispose
public void dispose(IoSession session)
throws Exception
- Override this method dispose all resources related with this encoder.
The default implementation does nothing.
- Specified by:
dispose
in interface ProtocolEncoder
- Throws:
Exception
- if failed to dispose all resources
Copyright © 2004-2011 Apache MINA Project. All Rights Reserved.