ProtocolEncoder
ObjectSerializationEncoder
, PrefixedStringEncoder
, TextLineEncoder
public abstract class ProtocolEncoderAdapter extends Object implements ProtocolEncoder
ProtocolEncoder
implementation for those who don't have any
resources to dispose.Constructor | Description |
---|---|
ProtocolEncoderAdapter() |
Modifier and Type | Method | 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–2018 Apache MINA Project. All rights reserved.