Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlTopicEventListener Interface Reference

The listener for topic events from the server. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlTopicEventListener:
PushTechnology.ClientInterface.Client.Callbacks.ITopicTreeHandler PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlEventListenerDefault PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlTopicEventListenerDefault

Public Member Functions

void OnHasSubscribers (string topicPath)
 Called if a topic that previously had no subscribers now has at least one. More...
 
void OnNoSubscribers (string topicPath)
 Called if a topic that previously had some subscribers now has none. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.ITopicTreeHandler
void OnRegistered (string topicPath, IRegistration registration)
 Called when the handler has been successfully registered with the server. More...
 
void OnClose (string topicPath)
 Called if the handler is closed. More...
 
void OnError (string topicPath, ErrorReason errorReason)
 Notification of a contextual error related to this handler. More...
 

Detailed Description

The listener for topic events from the server.

Instances can be registered using ITopicControl.AddTopicEventListener.

Since 5.6

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlTopicEventListener.OnHasSubscribers ( string  topicPath)

Called if a topic that previously had no subscribers now has at least one.

Parameters
topicPathThe path of the topic.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlTopicEventListenerDefault, and PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlEventListenerDefault.

void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlTopicEventListener.OnNoSubscribers ( string  topicPath)

Called if a topic that previously had some subscribers now has none.

Parameters
topicPathThe path of the topic.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlTopicEventListenerDefault, and PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlEventListenerDefault.


The documentation for this interface was generated from the following file: