public interface TopicNotifyTopicListener
Such a listener is declared when a TopicNotifyTopicHandler
is
created using AbstractDiffusionClient#createTopicNotifyTopicHandler(Message, TopicNotifyTopicHandler.NotificationLevel, TopicNotifyTopicListener)
Modifier and Type | Method and Description |
---|---|
void |
topicAdded(String topicName,
TopicDefinition definition)
Notifies the addition of a Topic at the server.
|
void |
topicRemoved(String topicName)
Notifies the removal of a Topic at the server
|
void |
topicUpdated(String topicName,
Hashtable properties)
Notifies a change to one or more of the non static properties of a
Topic.
|
void topicAdded(String topicName, TopicDefinition definition)
Only topics that match with selections made to the server (via the
TopicNotifyTopicHandler.select(TopicNotifyTopicHandler.SelectionMode, String)
method) will be notified.
topicName
- the name of the new topic.definition
- the definition of the topic. The level of detail
available within this definition will depend upon the TopicNotifyTopicHandler.NotificationLevel
specified when creating the handler. It will at least contain the
Topic type but may also contain all of the Topic properties (depending
upon level) and/or the Topic metadata (depending upon level and type).void topicRemoved(String topicName)
topicName
- the name of the Topic removedCopyright © 2016 Push Technology Ltd. All Rights Reserved.