@Deprecated public class TransportCodec extends AbstractCodec
TelnetCodec and ExchangeCodec
both override all the methods declared in this class.Codec2.DecodeResult| Constructor and Description |
|---|
TransportCodec()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(Channel channel,
ChannelBuffer buffer)
Deprecated.
|
void |
encode(Channel channel,
ChannelBuffer buffer,
Object message)
Deprecated.
|
public void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException
IOExceptionpublic Object decode(Channel channel, ChannelBuffer buffer) throws IOException
IOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.