Interface ISessionOpenContextCallback<TC>
Contextual version of ISessionOpenCallback for use with Open<TC>(String, TC, ISessionOpenContextCallback<TC>).
Attaches an arbitrary context object to callback notifications.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Session
Assembly: Diffusion.Client.dll
Syntax
public interface ISessionOpenContextCallback<in TC> : IContextCallback<TC>
Type Parameters
Name | Description |
---|---|
TC |
Methods
OnOpened(TC, ISession)
Called when a session has been successfully opened.
Declaration
void OnOpened(TC context, ISession session)
Parameters
Type | Name | Description |
---|---|---|
TC | context | The context object supplied when making the call. |
ISession | session | The session. |