Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables 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 TContext >

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, ISessionId client, string selector)
 Callback method indicating that the requested operation has been processed by the server. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TContext >
void OnDiscard (TContext context)
 Called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. 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,
ISessionId  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

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