Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.SendContextCallbackDefault< TC > Class Template Reference

The default implementation of ISendContextCallback{TC}. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.SendContextCallbackDefault< TC >:
PushTechnology.ClientInterface.Client.Features.ISendContextCallback< 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)
 Called to indicate that the send message has been received by the server. This does not necessarily mean that it has been delivered to any recipient. 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

The default implementation of ISendContextCallback{TC}.

This simply logs OnComplete and OnDiscard 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.SendContextCallbackDefault< TC >.OnComplete ( TC  context)
virtual

Called to indicate that the send message has been received by the server. This does not necessarily mean that it has been delivered to any recipient.

Parameters
contextThe context object supplied when making the call. May be null.

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

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.SendContextCallbackDefault< 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: