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, channelInactive, channelRead, channelReadComplete, decodeLast, handlerAdded, handlerRemoved, write
bind, close, connect, deregister, disconnect, flush, read
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
protected 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>
Exception
protected 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>
Exception
Copyright © 2016. All rights reserved.