Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionDetailsContextCallback< in TC > Interface Template Reference

The callback interface for IClientControl.GetSessionDetails{TC}/. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionDetailsContextCallback< in TC >:
PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC > PushTechnology.ClientInterface.Client.Features.Control.Clients.SessionDetailsContextCallbackDefault< TC >

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...
 

Detailed Description

The callback interface for IClientControl.GetSessionDetails{TC}/.

Use this alternative to ISessionDetailsCallback to associate some artitrary context object with each call.

Template Parameters
TCThe context object type.

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionDetailsContextCallback< in TC >.OnReply ( TC  context,
SessionId  sessionId,
ISessionDetails  sessionDetails 
)

Called to return requested session details.

Parameters
contextThe context object the application supplied when making the call; may be null.
sessionIdThe session id.
sessionDetailsThe 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.

Parameters
contextThe context object the application supplied when making the call; may be null.
sessionIdThe requested session identity.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Clients.SessionDetailsContextCallbackDefault< TC >.


The documentation for this interface was generated from the following file: