Diffusion .NET API
5.9.24
|
The callback interface for IClientControl.GetSessionDetails{TC}/. More...
Public Member Functions | |
void | OnReply (TC context, SessionId sessionId, ISessionDetails sessionDetails) |
Called to return requested session details. More... | |
void | OnUnknownSession (TC context, SessionId sessionId) |
Called to indicate that the session indicated in a request is not known by the server. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC > | |
void | OnDiscard (TC context) |
Notification that a context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for a context. More... | |
The callback interface for IClientControl.GetSessionDetails{TC}/.
Use this alternative to ISessionDetailsCallback to associate some artitrary context object with each call.
TC | The context object type. |
void PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionDetailsContextCallback< in TC >.OnReply | ( | TC | context, |
SessionId | sessionId, | ||
ISessionDetails | sessionDetails | ||
) |
Called to return requested session details.
context | The context object the application supplied when making the call; may be null. |
sessionId | The session id. |
sessionDetails | The requested session details. |
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Clients.SessionDetailsContextCallbackDefault< TC >.
void PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionDetailsContextCallback< in TC >.OnUnknownSession | ( | TC | context, |
SessionId | sessionId | ||
) |
Called to indicate that the session indicated in a request is not known by the server.
context | The context object the application supplied when making the call; may be null. |
sessionId | The requested session identity. |
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Clients.SessionDetailsContextCallbackDefault< TC >.