Package com.pushtechnology.diffusion.client.features.control.topics
package com.pushtechnology.diffusion.client.features.control.topics
Client API : Topic Control Features.
This package provides a client with features relating to the management of topics.
This includes :
Topic Control
This feature allows a client to:
1) Create and remove topics.
2) Listen for attempts to subscribe to topics that do not exist.
Subscription Control
This feature allows a client to subscribe other clients to
topics and unsubscribe them from topics.
Session Trees
This feature allows a client to configure session trees to map topics on a
session specific basis.
Topic Notifications
This feature allows a client session to receive notifications about changes
to selected topics.
- Since:
- 5.0
- Author:
- DiffusionData Limited
-
ClassDescriptionThis feature allows a client session to configure session trees.A session tree branch mapping.A session tree branch mapping table.Builder for
SessionTrees.BranchMappingTable
instances.Exception indicating an invalidSessionTrees.BranchMapping
orSessionTrees.BranchMappingTable
.This feature allows a session to subscribe or unsubscribe other sessions to topics, on a single server or across a cluster.Result used by CompletableFuture variants ofsubscribeByFilter
andunsubscribeByFilter
.This feature allows a session to manage topics.Exception thrown to report a failure to add a topic.Used to report the result of adding a topic.Exception thrown to report a topic could not be added because an existing topic with a different specification is bound to the topic path.Exception thrown to report that a topic exists at the same path that is managed by a component that has exclusive control over the topic.Exception thrown to report a topic could not be added because there is an existing topic that is incompatible with the request.Exception thrown to report a topic could not be added because the topic path supplied is invalid.Exception thrown to report a topic could not be added because the specification is invalid.Notification that a session has made a subscription request using a selector that does not match any topics.Stream called when a session subscribes using a topic selector that matches no topics.Exception thrown to report a topic could not be added because a licence limit has been exceeded.Reports the number of topics removed by a call toTopicControl.removeTopics(com.pushtechnology.diffusion.client.topics.TopicSelector)
.This feature allows a client session to receive notifications about changes to selected topics.The NotificationRegistration represents the registration state of the associated listener on the server.Listener for topic notifications.Default listener.The type of notification that has been received.