Interface TopicControl.MissingTopicNotificationStream

All Superinterfaces:
Callback, Stream
All Known Implementing Classes:
TopicControl.MissingTopicNotificationStream.Default
Enclosing interface:
TopicControl

public static interface TopicControl.MissingTopicNotificationStream extends Stream
Stream called when a session subscribes using a topic selector that matches no topics.

Instances can be registered using addMissingTopicHandler.

Since:
6.0
  • Method Details

    • onMissingTopic

      void onMissingTopic(TopicControl.MissingTopicNotification notification)
      Called when a session requests a topic that does not exist, and the topic path belongs to part of the topic tree for which this handler was registered.
      Parameters:
      notification - the missing topic notification