The classic client API will be removed in a future release.
@Deprecated public interface TopicNotifyTopicListener
Such a listener is declared when a TopicNotifyTopicHandler
is
created using ServerConnection.createTopicNotifyTopicHandler(TopicMessage, TopicNotifyTopicListener)
.
Only events for topics that match with selections made to the server (via the
TopicNotifyTopicHandler.select(TopicNotifyTopicHandler.SelectionMode, TopicSet)
method) will be notified.
Modifier and Type | Method and Description |
---|---|
void |
topicAdded(String topicName,
TopicDefinition definition)
Deprecated.
Notifies the addition of a Topic at the server.
|
void |
topicRemoved(String topicName)
Deprecated.
Notifies the removal of a Topic at the server
|
void |
topicUpdated(String topicName,
Map<TopicProperty,Object> properties)
Deprecated.
Notifies a change to one or more of the non static properties of a
Topic.
|
void topicAdded(String topicName, TopicDefinition definition)
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 removedvoid topicUpdated(String topicName, Map<TopicProperty,Object> properties)
topicName
- the name of the Topicproperties
- a map of the changed propertiesCopyright © 2016 Push Technology Ltd. All Rights Reserved.