public class PubSubMessageDecoder extends Object implements MultiDecoder<Object>
| Constructor and Description |
|---|
PubSubMessageDecoder(Decoder<Object> decoder) |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(io.netty.buffer.ByteBuf buf,
State state) |
PubSubMessage |
decode(List<Object> parts,
State state) |
boolean |
isApplicable(int paramNum,
State state) |
public Object decode(io.netty.buffer.ByteBuf buf, State state) throws IOException
decode in interface Decoder<Object>IOExceptionpublic PubSubMessage decode(List<Object> parts, State state)
decode in interface MultiDecoder<Object>public boolean isApplicable(int paramNum,
State state)
isApplicable in interface MultiDecoder<Object>Copyright © 2014–2017 The Redisson Project. All rights reserved.