Table of Contents

Class TopicNotificationListenerDefault

Namespace
PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly
Diffusion.Client.dll

The default listener for topic notifications.

public class TopicNotificationListenerDefault : DefaultStream, ITopicNotificationListener, IStream, ICallback
Inheritance
TopicNotificationListenerDefault
Implements
Inherited Members

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.

public virtual void OnDescendantNotification(string topicPath, NotificationType type)

Parameters

topicPath string

The path of the immediate descendant that is not selected.

type NotificationType

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.

public virtual void OnTopicNotification(string topicPath, ITopicSpecification specification, NotificationType type)

Parameters

topicPath string

The path of the topic that this notification is for.

specification ITopicSpecification

The specification of the topic that this notification is for.

type NotificationType

The type of notification.