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, skipDecodecallDecode, checkpoint, checkpoint, state, stateactualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharablepublic 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 CommandDecoderExceptionprotected void decodeResult(CommandData<Object,Object> data, List<Object> parts, io.netty.channel.Channel channel, Object result) throws IOException
decodeResult in class CommandDecoderIOExceptionprotected MultiDecoder<Object> messageDecoder(CommandData<Object,Object> data, List<Object> parts)
messageDecoder in class CommandDecoderprotected Decoder<Object> selectDecoder(CommandData<Object,Object> data, List<Object> parts)
selectDecoder in class CommandDecoderCopyright © 2014–2021 Redisson. All rights reserved.