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