public class CommandPubSubDecoder extends CommandDecoder
Constructor and Description |
---|
CommandPubSubDecoder(RedisClientConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
addPubSubCommand(ChannelName channel,
CommandData<Object,Object> data) |
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) |
completeResponse, decode, decode, sendNext, sendNext, skipCommand, skipDecode
callDecode, checkpoint, checkpoint, state, state
actualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
public CommandPubSubDecoder(RedisClientConfig config)
public void addPubSubCommand(ChannelName channel, CommandData<Object,Object> data)
protected void decodeCommand(io.netty.channel.Channel channel, io.netty.buffer.ByteBuf in, QueueCommand data) throws Exception
decodeCommand
in class CommandDecoder
Exception
protected void decodeResult(CommandData<Object,Object> data, List<Object> parts, io.netty.channel.Channel channel, Object result) throws IOException
decodeResult
in class CommandDecoder
IOException
protected MultiDecoder<Object> messageDecoder(CommandData<Object,Object> data, List<Object> parts)
messageDecoder
in class CommandDecoder
protected Decoder<Object> selectDecoder(CommandData<Object,Object> data, List<Object> parts)
selectDecoder
in class CommandDecoder
Copyright © 2014–2021 Redisson. All rights reserved.