K
- V
- public class RedisPubSubTopicListenerWrapper<V> extends RedisPubSubAdapter<V>
Constructor and Description |
---|
RedisPubSubTopicListenerWrapper(MessageListener<V> listener,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName() |
int |
hashCode() |
void |
message(String pattern,
String channel,
V message)
Message received from a pattern subscription.
|
void |
message(String channel,
V message)
Message received from a channel subscription.
|
psubscribed, punsubscribed, subscribed, unsubscribed
public RedisPubSubTopicListenerWrapper(MessageListener<V> listener, String name)
public String getName()
public void message(String channel, V message)
RedisPubSubListener
message
in interface RedisPubSubListener<V>
message
in class RedisPubSubAdapter<V>
channel
- Channel.message
- Message.public void message(String pattern, String channel, V message)
RedisPubSubListener
message
in interface RedisPubSubListener<V>
message
in class RedisPubSubAdapter<V>
pattern
- Pattern.channel
- Channel.message
- Message.Copyright © 2014–2015. All rights reserved.