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 Pings.PingContextCallback<C> extends ContextCallback<C>
Pings.pingServer(Object, PingContextCallback).
Use this alternative to Pings.PingCallback to associate some arbitrary
context object with each call.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Pings.PingContextCallback.Default<C>
Deprecated.
Default implementation of
Pings.PingContextCallback. |
| Modifier and Type | Method and Description |
|---|---|
void |
onPingResponse(C context,
Pings.PingDetails details)
Deprecated.
Called with ping response from the server.
|
onDiscardvoid onPingResponse(C context, Pings.PingDetails details)
context - the context object supplied when making the call. May
be null.details - information relating to the pingCopyright © 2025 DiffusionData Limited. All rights reserved.