@SPI public interface Codec2
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
Codec2.DecodeResult |
| 限定符和类型 | 方法和说明 |
|---|---|
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.