public static class SubscriptionControl.SubscriptionByFilterCallback.Default extends Callback.Default implements SubscriptionControl.SubscriptionByFilterCallback
SubscriptionControl.SubscriptionByFilterCallback.
This logs onComplete calls at 'debug' level and onRejected calls at 'error' level. This method may be overridden to perform more specific processing.
SubscriptionControl.SubscriptionByFilterCallback.Default| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(int numberSelected)
Called to indicate successful processing of the request at the
server.
|
void |
onRejected(Collection<ErrorReport> errors)
The filter was rejected.
|
onErrorpublic void onComplete(int numberSelected)
SubscriptionControl.SubscriptionByFilterCallbackonComplete in interface SubscriptionControl.SubscriptionByFilterCallbacknumberSelected - the number of sessions that satisfied the
filter and qualified for subscription/unsubscription. This
will be 0 if no sessions satisfied the filter.public void onRejected(Collection<ErrorReport> errors)
SubscriptionControl.SubscriptionByFilterCallbackonRejected in interface SubscriptionControl.SubscriptionByFilterCallbackerrors - the detail of why the filter was rejectedCopyright © 2025 DiffusionData Limited. All rights reserved.