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