Diffusion .NET API
5.9.24
|
Default implementation of ISessionDetailsContextCallback{TC}. More...
Public Member Functions | |
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... | |
void | OnReply (TC context, SessionId sessionId, ISessionDetails sessionDetails) |
Receive session details. More... | |
void | OnUnknownSession (TC context, SessionId sessionId) |
Called if the session id is unknown. More... | |
Default implementation of ISessionDetailsContextCallback{TC}.
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.
TC | The context object type. |
void PushTechnology.ClientInterface.Client.Features.Control.Clients.SessionDetailsContextCallbackDefault< TC >.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.
context |
Implements PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >.
void PushTechnology.ClientInterface.Client.Features.Control.Clients.SessionDetailsContextCallbackDefault< TC >.OnReply | ( | TC | context, |
SessionId | sessionId, | ||
ISessionDetails | sessionDetails | ||
) |
Receive 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. |
Implements PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionDetailsContextCallback< in TC >.
void PushTechnology.ClientInterface.Client.Features.Control.Clients.SessionDetailsContextCallbackDefault< TC >.OnUnknownSession | ( | TC | context, |
SessionId | sessionId | ||
) |
Called if the session id is unknown.
context | The context object the application supplied when making the call; may be null. |
sessionId | The requested session identity. |
Implements PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionDetailsContextCallback< in TC >.