@FunctionalInterface public static interface AsyncReceiverSubscriptions.SubscriptionChangeListener
Modifier and Type | Interface and Description |
---|---|
static class |
AsyncReceiverSubscriptions.SubscriptionChangeListener.SubscriptionOperation
The list subscription operations.
|
Modifier and Type | Method and Description |
---|---|
void |
onSubscriptionChange(TopicSubscription topicSubscription,
AsyncReceiverSubscriptions.SubscriptionChangeListener.SubscriptionOperation change,
PubSubPlusClientException exception)
A callback method that executes when a subscription change occurs and the broker response is
processed.
|
void onSubscriptionChange(TopicSubscription topicSubscription, AsyncReceiverSubscriptions.SubscriptionChangeListener.SubscriptionOperation change, PubSubPlusClientException exception)
topicSubscription
- the subscription to be added or removedchange
- the type of a change - add/removeexception
- null
if the subscription was successfully added or removed,
exception otherwiseCopyright 2019-2024 Solace Corporation. All rights reserved.