public class ExchangeCodec extends TelnetCodec
Codec2.DecodeResult| Constructor and Description |
|---|
ExchangeCodec() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(Channel channel,
ChannelBuffer buffer) |
void |
encode(Channel channel,
ChannelBuffer buffer,
Object msg) |
Short |
getMagicCode() |
public Short getMagicCode()
public void encode(Channel channel, ChannelBuffer buffer, Object msg) throws IOException
encode in interface Codec2encode in class TelnetCodecIOExceptionpublic Object decode(Channel channel, ChannelBuffer buffer) throws IOException
decode in interface Codec2decode in class TelnetCodecIOExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.