Methods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead.
@Deprecated public static interface SubscriptionControl.SubscriptionByFilterCallback extends Callback
| Modifier and Type | Interface and Description |
|---|---|
static class |
SubscriptionControl.SubscriptionByFilterCallback.Default
Deprecated.
Default implementation of
SubscriptionControl.SubscriptionByFilterCallback. |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(int numberSelected)
Deprecated.
Called to indicate successful processing of the request at the
server.
|
void |
onRejected(Collection<ErrorReport> errors)
Deprecated.
The filter was rejected.
|
void onComplete(int numberSelected)
numberSelected - the number of sessions that satisfied the
filter and qualified for subscription/unsubscription. This
will be 0 if no sessions satisfied the filter.void onRejected(Collection<ErrorReport> errors)
errors - the detail of why the filter was rejectedCopyright © 2023 DiffusionData Limited. All rights reserved.