public static class ClientControl.SessionDetailsCallback.Default extends Callback.Default implements ClientControl.SessionDetailsCallback
ClientControl.SessionDetailsCallback
.
This simply logs onReply calls at 'info' level and onUnknownSession calls at 'warn' level. These methods may be overridden as required to perform more specific processing.
ClientControl.SessionDetailsCallback.Default
Constructor and Description |
---|
ClientControl.SessionDetailsCallback.Default() |
Modifier and Type | Method and Description |
---|---|
void |
onReply(SessionId sessionId,
SessionDetails sessionDetails)
Called to return requested session details.
|
void |
onUnknownSession(SessionId sessionId)
Called to indicate that the session indicated in a request is not
known by the server.
|
onDiscard
public ClientControl.SessionDetailsCallback.Default()
public void onReply(SessionId sessionId, SessionDetails sessionDetails)
ClientControl.SessionDetailsCallback
onReply
in interface ClientControl.SessionDetailsCallback
sessionId
- the session identifiersessionDetails
- the requested session detailspublic void onUnknownSession(SessionId sessionId)
ClientControl.SessionDetailsCallback
onUnknownSession
in interface ClientControl.SessionDetailsCallback
sessionId
- the requested session identifierCopyright © 2016 Push Technology Ltd. All Rights Reserved.