|
|
@ -21,6 +21,14 @@ public abstract class JedisPubSub { |
|
|
|
private int subscribedChannels = 0; |
|
|
|
private int subscribedChannels = 0; |
|
|
|
private volatile Client client; |
|
|
|
private volatile Client client; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public JedisPubSub() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public JedisPubSub(Client client) { |
|
|
|
|
|
|
|
this.client = client; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void onMessage(String channel, String message) { |
|
|
|
public void onMessage(String channel, String message) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|