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

The default listener for topic notifications. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicNotificationListenerDefault:
PushTechnology.ClientInterface.Client.Callbacks.DefaultStream PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicNotificationListener PushTechnology.ClientInterface.Client.Callbacks.DefaultCallback PushTechnology.ClientInterface.Client.Callbacks.IStream PushTechnology.ClientInterface.Client.Callbacks.IStream PushTechnology.ClientInterface.Client.Callbacks.ICallback PushTechnology.ClientInterface.Client.Callbacks.ICallback PushTechnology.ClientInterface.Client.Callbacks.ICallback

Public Member Functions

virtual void OnDescendantNotification (string topicPath, NotificationType type)
 Notification for an immediate descendant of a selected topic path. More...
 
virtual void OnTopicNotification (string topicPath, ITopicSpecification specification, NotificationType type)
 Notification for a selected topic. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.DefaultStream
virtual void OnClose ()
 Notification that a stream context was closed normally. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.DefaultCallback
virtual void OnError (ErrorReason errorReason)
 Notification of a contextual error related to this callback. More...
 

Detailed Description

The default listener for topic notifications.

This simply logs ITopicNotificationListener method calls at Debug level. This class may be extended to provide more specific processing.

Added in version 6.1.

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicNotificationListenerDefault.OnDescendantNotification ( string  topicPath,
NotificationType  type 
)
virtual

Notification for an immediate descendant of a selected topic path.

This notifies the presence or absence of a descendant topic that may subsequently be explicitly selected.

Parameters
topicPathThe path of the immediate descendant that is not selected.
typeThe type of notification.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicNotificationListener.

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicNotificationListenerDefault.OnTopicNotification ( string  topicPath,
ITopicSpecification  specification,
NotificationType  type 
)
virtual

Notification for a selected topic.

Parameters
topicPathThe path of the topic that this notification is for.
specificationThe specification of the topic that this notification is for.
typeThe type of notification.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicNotificationListener.


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