Class TopicNotificationListenerDefault

The default listener for topic notifications.

Inheritance
System.Object
DefaultCallback
DefaultStream
TopicNotificationListenerDefault
Implements
ITopicNotificationListener
IStream
ICallback
Inherited Members
DefaultStream.OnClose()
DefaultCallback.OnError(ErrorReason)
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public class TopicNotificationListenerDefault : DefaultStream, ITopicNotificationListener, IStream, ICallback
Remarks

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

Methods

OnDescendantNotification(String, NotificationType)

Notification for an immediate descendant of a selected topic path.

Declaration
public virtual void OnDescendantNotification(string topicPath, NotificationType type)
Parameters
Type Name Description
System.String topicPath

The path of the immediate descendant that is not selected.

NotificationType type

The type of notification.

Remarks

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

OnTopicNotification(String, ITopicSpecification, NotificationType)

Notification for a selected topic.

Declaration
public virtual void OnTopicNotification(string topicPath, ITopicSpecification specification, NotificationType type)
Parameters
Type Name Description
System.String topicPath

The path of the topic that this notification is for.

ITopicSpecification specification

The specification of the topic that this notification is for.

NotificationType type

The type of notification.

Implements

ITopicNotificationListener
IStream
ICallback
Back to top