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: 436993 $, $Date: 2006-08-26 00:36:56 +0200 (Sat, 26 Aug 2006) $
- 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-2010 Apache MINA Project. All Rights Reserved.