@SPI public interface Codec2
| Modifier and Type | Interface and Description |
|---|---|
static class |
Codec2.DecodeResult |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(Channel channel,
ChannelBuffer buffer) |
void |
encode(Channel channel,
ChannelBuffer buffer,
Object message) |
@Adaptive(value="codec") void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException
IOException@Adaptive(value="codec") Object decode(Channel channel, ChannelBuffer buffer) throws IOException
IOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.