org.apache.mina.filter.codec

Class ProtocolEncoderAdapter

Implemented Interfaces:
ProtocolEncoder
Known Direct Subclasses:
ObjectSerializationEncoder, TextLineEncoder

public abstract class ProtocolEncoderAdapter
extends java.lang.Object
implements ProtocolEncoder

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

Method Summary

void
dispose(IoSession session)
Override this method dispose all resources related with this encoder.

Method Details

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