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

The default IContextCallback{TContext} implementation. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.ContextCallbackDefault< TContext >:
PushTechnology.ClientInterface.Client.Features.IContextCallback< in TContext > PushTechnology.ClientInterface.Client.Features.ContextStreamDefault< TContext > PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddContextCallbackDefault< TContext > PushTechnology.ClientInterface.Client.Features.PingContextCallbackDefault< TContext > PushTechnology.ClientInterface.Client.Features.TopicDetailsContextCallbackDefault< TContext > PushTechnology.ClientInterface.Client.Features.TopicsCompletionContextCallbackDefault< TContext > PushTechnology.ClientInterface.Client.Features.FetchContextStreamDefault< TContext >

Public Member Functions

virtual 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 IContextCallback{TContext} implementation.

This simply logs any OnDiscard response at 'warn' level. The method should be overridden if anything other than a logged warning would be required in such an eventuality.

Template Parameters
TContextThe context object type.

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Features.ContextCallbackDefault< TContext >.OnDiscard ( TContext  context)
virtual

Called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed.

No further calls will be made for the context.

Parameters
contextThe context object associated with this callback.

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


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