public abstract class ProtocolEncoderAdapter extends Object implements ProtocolEncoder
ProtocolEncoder
implementation for those who don't have any
resources to dispose.Constructor and Description |
---|
ProtocolEncoderAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
dispose(IoSession session)
Override this method dispose all resources related with this encoder.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode
public void dispose(IoSession session) throws Exception
dispose
in interface ProtocolEncoder
session
- The current SessionException
- if failed to dispose all resourcesCopyright © 2004–2021 Apache MINA Project. All rights reserved.