Interface SubscriptionsForClientResult
public interface SubscriptionsForClientResult
Parameter object passed to each iteration from
SubscriptionStore.iterateAllSubscriptions(IterationCallback).
This object represents a client identifier and all its subscriptions.- Since:
- 4.2.0, CE 2020.1
-
Method Summary
Modifier and Type Method Description @NotNull StringgetClientId()Get the client identifier for this client.@NotNull Set<TopicSubscription>getSubscriptions()Get aSetofTopicSubscriptioncontaining all subscriptions including the subscription options and identifier for this client.
-
Method Details
-
getClientId
Get the client identifier for this client.- Returns:
- The client identifier of this client.
- Since:
- 4.2.0, CE 2020.1
-
getSubscriptions
Get aSetofTopicSubscriptioncontaining all subscriptions including the subscription options and identifier for this client.- Returns:
- A
Setof all the subscriptions for this client. - Since:
- 4.2.0, CE 2020.1
-