C - 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.SubscriptionContextCallback<C> extends ContextCallback<C>
Use this alternative to SubscriptionControl.SubscriptionCallback to associate some
arbitrary context object with each call.
| Modifier and Type | Interface and Description |
|---|---|
static class |
SubscriptionControl.SubscriptionContextCallback.Default<C>
Deprecated.
Default implementation of
SubscriptionControl.SubscriptionContextCallback. |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(C context)
Deprecated.
Called to indicate that the requested operation has been processed by
the server.
|
onDiscardvoid onComplete(C context)
context - the context object supplied when making the call. May
be null.Copyright © 2023 DiffusionData Limited. All rights reserved.