Interface ITopicControlTopicEventListener
The listener for topic events from the server.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public interface ITopicControlTopicEventListener : ITopicTreeHandler
Remarks
Deprecated: The main use case for this interface is the removal of unused topics, now much better
satisfied by the Removal topic property, using the
"subscriptions < n for"
condition. This method only takes into account local sessions. The
REMOVAL topic property is fully cluster aware. This method will be removed in a future release.
Instances can be registered using AddTopicEventListener(String, ITopicControlTopicEventListener).
Methods
OnHasSubscribers(String)
Called if a topic that previously had no subscribers now has at least one.
Declaration
void OnHasSubscribers(string topicPath)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The path of the topic. |
OnNoSubscribers(String)
Called if a topic that previously had some subscribers now has none.
Declaration
void OnNoSubscribers(string topicPath)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The path of the topic. |