@ChannelHandler.Sharable public class CommandBatchEncoder extends io.netty.handler.codec.MessageToByteEncoder<CommandsData>
Modifier and Type | Field and Description |
---|---|
static CommandBatchEncoder |
INSTANCE |
Constructor and Description |
---|
CommandBatchEncoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
CommandsData msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, allocateBuffer, write
bind, close, connect, deregister, disconnect, flush, read
exceptionCaught, handlerAdded, handlerRemoved, isSharable
public static final CommandBatchEncoder INSTANCE
protected void encode(io.netty.channel.ChannelHandlerContext ctx, CommandsData msg, io.netty.buffer.ByteBuf out) throws Exception
encode
in class io.netty.handler.codec.MessageToByteEncoder<CommandsData>
Exception
Copyright © 2014–2016 The Redisson Project. All rights reserved.