C - the context object typeMethods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead.
@Deprecated public static interface SubscriptionControl.SubscriptionByFilterContextCallback<C> extends ContextCallback<C>
| Modifier and Type | Interface and Description |
|---|---|
static class |
SubscriptionControl.SubscriptionByFilterContextCallback.Default<C>
Deprecated.
Default implementation of
SubscriptionControl.SubscriptionByFilterContextCallback
. |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(C context,
int numberSelected)
Deprecated.
Called to indicate successful processing of the request at the
server.
|
void |
onRejected(C context,
Collection<ErrorReport> errors)
Deprecated.
The filter was rejected.
|
onErrorvoid onComplete(C context, int numberSelected)
context - the context object the application supplied when
making the call; may be nullnumberSelected - 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(C context, Collection<ErrorReport> errors)
context - the context object supplied when making the callerrors - the detail of why the filter was rejectedCopyright © 2024 DiffusionData Limited. All rights reserved.