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 ClientControl.SessionPropertiesContextCallback<C> extends ContextCallback<C>
ClientControl.getSessionProperties(SessionId, Collection, Object, SessionPropertiesContextCallback)
.
Used to associate some arbitrary context object with each call.
ContextCallback.Default<C>
Modifier and Type | Method and Description |
---|---|
void |
onReply(C context,
SessionId sessionId,
Map<String,String> properties)
Deprecated.
Called to return requested session properties.
|
void |
onUnknownSession(C context,
SessionId sessionId)
Deprecated.
Called to indicate that the session indicated in a request is not
known by the server.
|
onError
void onReply(C context, SessionId sessionId, Map<String,String> properties)
context
- the context object supplied when making the call. May
be null
sessionId
- the session identifierproperties
- a map of the requested session property valuesCopyright © 2024 DiffusionData Ltd. All Rights Reserved.