RedisPubSubListener extends MessageListener

pull/337/head
Nikita 9 years ago
parent 789e5a4e03
commit b02d901fa3

@ -16,13 +16,12 @@
package org.redisson.client;
import org.redisson.client.protocol.pubsub.PubSubType;
import org.redisson.core.MessageListener;
public interface RedisPubSubListener<V> {
public interface RedisPubSubListener<V> extends MessageListener<V> {
boolean onStatus(PubSubType type, String channel);
void onMessage(String channel, V message);
void onPatternMessage(String pattern, String channel, V message);
}

Loading…
Cancel
Save