public class RiakMessageCodec extends io.netty.handler.codec.ByteToMessageCodec<RiakMessage>
| Constructor and Description |
|---|
RiakMessageCodec() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
RiakMessage msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, channelRead, decodeLast, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharableprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
RiakMessage msg,
io.netty.buffer.ByteBuf out)
throws Exception
encode in class io.netty.handler.codec.ByteToMessageCodec<RiakMessage>Exceptionprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageCodec<RiakMessage>ExceptionCopyright © 2015. All rights reserved.