public interface PubSubStore
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECT |
static String |
DISCONNECT |
static String |
DISPATCH |
static String |
JOIN |
static String |
LEAVE |
| Modifier and Type | Method and Description |
|---|---|
void |
publish(String name,
PubSubMessage msg) |
void |
shutdown() |
<T extends PubSubMessage> |
subscribe(String name,
PubSubListener<T> listener,
Class<T> clazz) |
void |
unsubscribe(String name) |
static final String CONNECT
static final String DISCONNECT
static final String JOIN
static final String LEAVE
static final String DISPATCH
void publish(String name, PubSubMessage msg)
<T extends PubSubMessage> void subscribe(String name, PubSubListener<T> listener, Class<T> clazz)
void unsubscribe(String name)
void shutdown()
Copyright © 2012–2014. All rights reserved.