ProtocolEncoderObjectSerializationEncoder, PrefixedStringEncoder, TextLineEncoderpublic 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, waitencodepublic void dispose(IoSession session) throws Exception
dispose in interface ProtocolEncodersession - The current SessionException - if failed to dispose all resourcesCopyright © 2004–2018 Apache MINA Project. All rights reserved.