public class DMNotifyDispatcher extends BaseList<IConnectNotifyListener>
限定符和类型 | 方法和说明 |
---|---|
static DMNotifyDispatcher |
getInstance() |
void |
onConnectStateChange(java.lang.String connectId,
ConnectState connectState) |
void |
onNotify(java.lang.String connectId,
java.lang.String topic,
AMessage aMessage) |
void |
registerNotifyListener(IConnectNotifyListener listener) |
boolean |
shouldHandle(java.lang.String connectId,
java.lang.String topic) |
void |
unregisterNotifyListener(IConnectNotifyListener listener) |
addChain, clearChain, getChainItem, getChainSize, removeChain
public static DMNotifyDispatcher getInstance()
public void onNotify(java.lang.String connectId, java.lang.String topic, AMessage aMessage)
public boolean shouldHandle(java.lang.String connectId, java.lang.String topic)
public void onConnectStateChange(java.lang.String connectId, ConnectState connectState)
public void registerNotifyListener(IConnectNotifyListener listener)
public void unregisterNotifyListener(IConnectNotifyListener listener)