public class TransportCodec extends AbstractCodec
Codec2.DecodeResult| Constructor and Description |
|---|
TransportCodec() |
| 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
IOExceptionpublic Object decode(Channel channel, ChannelBuffer buffer) throws IOException
IOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.