org.apache.mina.filter.codec
Class ProtocolDecoderAdapter

java.lang.Object
  extended by org.apache.mina.filter.codec.ProtocolDecoderAdapter
All Implemented Interfaces:
ProtocolDecoder
Direct Known Subclasses:
CumulativeProtocolDecoder

public abstract class ProtocolDecoderAdapter
extends Object
implements ProtocolDecoder

An abstract ProtocolDecoder implementation for those who don't have any resources to dispose.

Version:
$Rev: 391231 $, $Date: 2006-04-04 15:21:55 +0900 (Tue, 04 Apr 2006) $
Author:
The Apache Directory Project (mina-dev@directory.apache.org)

Constructor Summary
ProtocolDecoderAdapter()
           
 
Method Summary
 void dispose(IoSession session)
          Override this method dispose all resources related with this decoder.
 
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.ProtocolDecoder
decode
 

Constructor Detail

ProtocolDecoderAdapter

public ProtocolDecoderAdapter()
Method Detail

dispose

public void dispose(IoSession session)
             throws Exception
Override this method dispose all resources related with this decoder. The default implementation does nothing.

Specified by:
dispose in interface ProtocolDecoder
Throws:
Exception - if failed to dispose all resources