C
- context object typepublic static interface ClientControl.SessionDetailsContextCallback<C> extends ContextCallback<C>
getSessionDetails
.
Used to associate some arbitrary context object with each call.
Modifier and Type | Interface and Description |
---|---|
static class |
ClientControl.SessionDetailsContextCallback.Default<C>
Default implementation of
ClientControl.SessionDetailsContextCallback . |
Modifier and Type | Method and Description |
---|---|
void |
onReply(C context,
SessionId sessionId,
SessionDetails sessionDetails)
Called to return requested session details.
|
void |
onUnknownSession(C context,
SessionId sessionId)
Called to indicate that the session indicated in a request is not
known by the server.
|
onDiscard
void onReply(C context, SessionId sessionId, SessionDetails sessionDetails)
context
- the context object supplied when making the call. May
be null
sessionId
- the session identifiersessionDetails
- the requested session detailsCopyright © 2016 Push Technology Ltd. All Rights Reserved.