public static class TopicNotifications.TopicNotificationListener.Default extends Stream.Default implements TopicNotifications.TopicNotificationListener
This simply logs TopicNotifications.TopicNotificationListener method calls at
debug level. This class may be extended to provide more
specific processing.
TopicNotifications.TopicNotificationListener.Default, TopicNotifications.TopicNotificationListener.NotificationType| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDescendantNotification(String topicPath,
TopicNotifications.TopicNotificationListener.NotificationType type)
Notification for an immediate descendant of a selected topic path.
|
void |
onTopicNotification(String topicPath,
TopicSpecification specification,
TopicNotifications.TopicNotificationListener.NotificationType type)
A notification for a selected topic.
|
onCloseonErrorpublic void onTopicNotification(String topicPath, TopicSpecification specification, TopicNotifications.TopicNotificationListener.NotificationType type)
TopicNotifications.TopicNotificationListeneronTopicNotification in interface TopicNotifications.TopicNotificationListenertopicPath - the path of the topic that this notification is forspecification - the specification of the topic that this
notification is fortype - the type of notificationpublic void onDescendantNotification(String topicPath, TopicNotifications.TopicNotificationListener.NotificationType type)
TopicNotifications.TopicNotificationListeneronDescendantNotification in interface TopicNotifications.TopicNotificationListenertopicPath - the path of the immediate descendant that is not selectedtype - the type of notificationCopyright © 2024 DiffusionData Limited. All rights reserved.