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

Default implementation of ISubscriptionContextCallback{TC}. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionContextCallbackDefault< TC >:
PushTechnology.ClientInterface.Client.Features.Control.Topics.ISubscriptionContextCallback< in TC > PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >

Public Member Functions

virtual 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...
 
virtual void OnComplete (TC context, SessionId client, string selector)
 Callback method indicating that the requested operation has been processed by the server. More...
 

Detailed Description

Default implementation of ISubscriptionContextCallback{TC}.

This simply logs OnComplete calls at 'Debug' level. This method may be overridden to perform more specific processing.

Template Parameters
TCThe context object type.

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionContextCallbackDefault< TC >.OnComplete ( TC  context,
SessionId  client,
string  selector 
)
virtual

Callback method indicating that the requested operation has been processed by the server.

Parameters
contextThe context object supplied when making the call.
clientThe identity of the client session for which the operation was called.
selectorThe selector expression used.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.ISubscriptionContextCallback< in TC >.

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionContextCallbackDefault< TC >.OnDiscard ( TC  context)
virtual

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.

Parameters
context

Implements PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >.


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