Diffusion .NET Client Library
6.1.5
|
The listener for topic events from the server. More...
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... | |
The listener for topic events from the server.
Instances can be registered using ITopicControl.AddTopicEventListener.
Since 5.6
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.
topicPath | The 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.
topicPath | The path of the topic. |
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlTopicEventListenerDefault, and PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlEventListenerDefault.