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

Contextual callback interface for IClientControl.GetSessionProperties{TC}. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionPropertiesContextCallback< TC >:
PushTechnology.ClientInterface.Client.Callbacks.IContextCallback< in TContext >

Public Member Functions

void OnReply (TC context, SessionId sessionId, Dictionary< string, string > properties)
 Called to return requested session properties. 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.Callbacks.IContextCallback< in TContext >
void OnError (TContext context, ErrorReason errorReason)
 Notification of a contextual error related to this callback. This is analogous to an unchecked exception being raised. Situations in which More...
 

Detailed Description

Contextual callback interface for IClientControl.GetSessionProperties{TC}.

Used to associate some arbitrary context object with each call.

Template Parameters
TCThe context object type.

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionPropertiesContextCallback< TC >.OnReply ( TC  context,
SessionId  sessionId,
Dictionary< string, string >  properties 
)

Called to return requested session properties.

Parameters
contextThe context object supplied when making the call. May be null.
sessionIdThe session identifier.
propertiesA map of the requested session property values.
void PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionPropertiesContextCallback< 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 supplied when making the call. May be null.
sessionIdThe requested session identifier.

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