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
topicPathstringThe path of the immediate descendant that is not selected.
typeNotificationTypeThe 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
topicPathstringThe path of the topic that this notification is for.
specificationITopicSpecificationThe specification of the topic that this notification is for.
typeNotificationTypeThe type of notification.