Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Notify.ITopicNotifyTopicListener Interface Reference

The interface for notifications from a 'topic notify' topic. More...

Public Member Functions

void TopicAdded (string topicName, TopicDefinition definition)
 Notifies of the addition of a topic at the server. More...
 
void TopicRemoved (string topicName)
 Notifies the removal of a topic at the server. More...
 
void TopicUpdated (string topicName, Dictionary< TopicProperty, object > properties)
 Notifies a change to one or more of the non-static properties of a topic. More...
 

Detailed Description

The interface for notifications from a 'topic notify' topic.

Such a listener is declared when an ITopicNotifyTopicHandler is created.

Member Function Documentation

void PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Notify.ITopicNotifyTopicListener.TopicAdded ( string  topicName,
TopicDefinition  definition 
)

Notifies of the addition of a topic at the server.

Only topics that match with the selections made to the server (via the ITopicNotifyTopicHandler.Select( ITopicNotifyTopicHandler.SelectionMode, TopicSet ) method will be notified.

Parameters
topicNameThe name of the new topic.
definitionThe definition of the topic. The level of detail available within this definition will depend upon the 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 on level and type).
void PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Notify.ITopicNotifyTopicListener.TopicRemoved ( string  topicName)

Notifies the removal of a topic at the server.

Parameters
topicName
void PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Notify.ITopicNotifyTopicListener.TopicUpdated ( string  topicName,
Dictionary< TopicProperty, object >  properties 
)

Notifies a change to one or more of the non-static properties of a topic.

Parameters
topicNameThe name of the topic.
propertiesA map of the changed properties.