public static interface TopicControl.TopicEventListener extends TopicTreeHandler
TopicControl.addTopicEventListener(java.lang.String, com.pushtechnology.diffusion.client.features.control.topics.TopicControl.TopicEventListener)
.Modifier and Type | Interface and Description |
---|---|
static class |
TopicControl.TopicEventListener.Default
Abstract implementation of
TopicControl.TopicEventListener , may be
extended to provide the onHasSubscribers(java.lang.String)
and onNoSubscribers(java.lang.String) methods. |
Modifier and Type | Method and Description |
---|---|
void |
onHasSubscribers(String topicPath)
A topic that previously had no subscribers now has at least one.
|
void |
onNoSubscribers(String topicPath)
A topic that previously had some subscribers now has none.
|
onClose, onError, onRegistered
void onHasSubscribers(String topicPath)
topicPath
- the path of the topicvoid onNoSubscribers(String topicPath)
topicPath
- the path of the topicCopyright © 2016 Push Technology Ltd. All Rights Reserved.