Class RedisProxyListener
java.lang.Object
net.flectone.pulse.listener.proxy.RedisProxyListener
- All Implemented Interfaces:
io.lettuce.core.pubsub.RedisPubSubListener<byte[],byte[]>
public class RedisProxyListener
extends Object
implements io.lettuce.core.pubsub.RedisPubSubListener<byte[],byte[]>
-
Constructor Summary
ConstructorsConstructorDescriptionRedisProxyListener(RedisProxy redisProxySender, ProxyMessageProcessor proxyMessageProcessor) -
Method Summary
Modifier and TypeMethodDescriptionvoidmessage(byte[] channel, byte[] message) voidmessage(byte[] bytes, byte[] k1, byte[] bytes2) voidpsubscribed(byte[] bytes, long l) voidpunsubscribed(byte[] bytes, long l) voidsubscribed(byte[] bytes, long l) voidunsubscribed(byte[] bytes, long l) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.lettuce.core.pubsub.RedisPubSubListener
smessage, ssubscribed, sunsubscribed
-
Constructor Details
-
RedisProxyListener
@Inject public RedisProxyListener(RedisProxy redisProxySender, ProxyMessageProcessor proxyMessageProcessor)
-
-
Method Details
-
message
public void message(byte[] channel, byte[] message) - Specified by:
messagein interfaceio.lettuce.core.pubsub.RedisPubSubListener<byte[],byte[]>
-
message
public void message(byte[] bytes, byte[] k1, byte[] bytes2) - Specified by:
messagein interfaceio.lettuce.core.pubsub.RedisPubSubListener<byte[],byte[]>
-
subscribed
public void subscribed(byte[] bytes, long l) - Specified by:
subscribedin interfaceio.lettuce.core.pubsub.RedisPubSubListener<byte[],byte[]>
-
psubscribed
public void psubscribed(byte[] bytes, long l) - Specified by:
psubscribedin interfaceio.lettuce.core.pubsub.RedisPubSubListener<byte[],byte[]>
-
unsubscribed
public void unsubscribed(byte[] bytes, long l) - Specified by:
unsubscribedin interfaceio.lettuce.core.pubsub.RedisPubSubListener<byte[],byte[]>
-
punsubscribed
public void punsubscribed(byte[] bytes, long l) - Specified by:
punsubscribedin interfaceio.lettuce.core.pubsub.RedisPubSubListener<byte[],byte[]>
-