public class CommandDecoder extends io.netty.handler.codec.ReplayingDecoder<State>
| Constructor and Description |
|---|
CommandDecoder(String scheme) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
completeResponse(CommandData<Object,Object> data,
Object result) |
protected void |
decode(io.netty.buffer.ByteBuf in,
CommandData<Object,Object> data,
List<Object> parts,
io.netty.channel.Channel channel,
boolean skipConvertor,
List<CommandData<?,?>> commandsData) |
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
protected void |
decodeCommand(io.netty.channel.Channel channel,
io.netty.buffer.ByteBuf in,
QueueCommand data) |
protected void |
decodeResult(CommandData<Object,Object> data,
List<Object> parts,
io.netty.channel.Channel channel,
Object result) |
protected MultiDecoder<Object> |
messageDecoder(CommandData<Object,Object> data,
List<Object> parts) |
protected Decoder<Object> |
selectDecoder(CommandData<Object,Object> data,
List<Object> parts) |
protected void |
sendNext(io.netty.channel.Channel channel) |
protected void |
sendNext(io.netty.channel.Channel channel,
QueueCommand data) |
protected int |
skipCommand(io.netty.buffer.ByteBuf in) |
protected void |
skipDecode(io.netty.buffer.ByteBuf in) |
callDecode, checkpoint, checkpoint, state, stateactualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharablepublic CommandDecoder(String scheme)
protected final void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderExceptionprotected void sendNext(io.netty.channel.Channel channel,
QueueCommand data)
protected int skipCommand(io.netty.buffer.ByteBuf in)
throws Exception
Exceptionprotected void skipDecode(io.netty.buffer.ByteBuf in)
throws IOException
IOExceptionprotected void decodeCommand(io.netty.channel.Channel channel,
io.netty.buffer.ByteBuf in,
QueueCommand data)
throws Exception
Exceptionprotected void sendNext(io.netty.channel.Channel channel)
protected void decode(io.netty.buffer.ByteBuf in,
CommandData<Object,Object> data,
List<Object> parts,
io.netty.channel.Channel channel,
boolean skipConvertor,
List<CommandData<?,?>> commandsData)
throws IOException
IOExceptionprotected void decodeResult(CommandData<Object,Object> data, List<Object> parts, io.netty.channel.Channel channel, Object result) throws IOException
IOExceptionprotected void completeResponse(CommandData<Object,Object> data, Object result)
protected MultiDecoder<Object> messageDecoder(CommandData<Object,Object> data, List<Object> parts)
Copyright © 2014–2021 Redisson. All rights reserved.