public class TelnetCodec extends TransportCodec
Codec2.DecodeResult| Constructor and Description |
|---|
TelnetCodec() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(Channel channel,
ChannelBuffer buffer) |
void |
encode(Channel channel,
ChannelBuffer buffer,
Object message) |
public void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException
encode in interface Codec2encode in class TransportCodecIOExceptionpublic Object decode(Channel channel, ChannelBuffer buffer) throws IOException
decode in interface Codec2decode in class TransportCodecIOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.