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

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

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicEventStream:
PushTechnology.ClientInterface.Client.Callbacks.IStream PushTechnology.ClientInterface.Client.Callbacks.ICallback PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicEventStreamDefault

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.IStream
void OnClose ()
 Notification that a stream context was closed normally. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.ICallback
void OnError (ErrorReason errorReason)
 Notification of a contextual error related to this callback. More...
 

Detailed Description

The stream for topic events from the server.

Stream instances can be registered using ITopicControl.AddTopicEventListenerAsync(string,ITopicEventStream).

Since 6.0

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicEventStream.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.TopicEventStreamDefault.

void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicEventStream.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.TopicEventStreamDefault.


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