Interface ISessionPropertiesContextCallback<TC>
Contextual callback interface for GetSessionProperties<TC>(ISessionId, List<String>, TC, ISessionPropertiesContextCallback<TC>).
Used to associate some arbitrary context object with each call.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients
Assembly: Diffusion.Client.dll
Syntax
public interface ISessionPropertiesContextCallback<TC> : IContextCallback<TC>
Type Parameters
Name | Description |
---|---|
TC | The context object type. |
Remarks
Caution
Deprecated since 6.7. Methods that use contextual callbacks are deprecated and will be removed in a future release. Use a Task instead.
Methods
OnReply(TC, ISessionId, Dictionary<String, String>)
Called to return requested session properties.
Declaration
void OnReply(TC context, ISessionId sessionId, Dictionary<string, string> properties)
Parameters
Type | Name | Description |
---|---|---|
TC | context | The context object supplied when making the call. May be null. |
ISessionId | sessionId | The session identifier. |
Dictionary<String, String> | properties | A map of the requested session property values. |
OnUnknownSession(TC, ISessionId)
Called to indicate that the session indicated in a request is not known by the server.
Declaration
void OnUnknownSession(TC context, ISessionId sessionId)
Parameters
Type | Name | Description |
---|---|---|
TC | context | The context object supplied when making the call. May be null. |
ISessionId | sessionId | The requested session identifier. |