Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Callbacks.DefaultContextStream< TContext > Class Template Reference

Abstract default context stream More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Callbacks.DefaultContextStream< TContext >:
PushTechnology.ClientInterface.Client.Callbacks.DefaultContextCallback< TContext > PushTechnology.ClientInterface.Client.Callbacks.IContextStream< in TContext > PushTechnology.ClientInterface.Client.Callbacks.IContextCallback< in TContext > PushTechnology.ClientInterface.Client.Callbacks.IContextCallback< in TContext >

Public Member Functions

void OnClose (TContext context)
 Called to notify that the stream context was closed normally. No further calls will be made for the stream context. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.DefaultContextCallback< TContext >
virtual void OnError (TContext context, ErrorReason errorReason)
 Notification of a contextual error related to this callback. This is analogous to an unchecked exception being raised. Situations in which More...
 

Detailed Description

Abstract default context stream

This simply logs OnClose calls at 'Debug' level. This method should normally be overridden to perform more specific processing.

Template Parameters
TContext

Member Function Documentation

void PushTechnology.ClientInterface.Client.Callbacks.DefaultContextStream< TContext >.OnClose ( TContext  context)

Called to notify that the stream context was closed normally. No further calls will be made for the stream context.

Parameters
contextthe context object the application supplied when making the call; may be null

Implements PushTechnology.ClientInterface.Client.Callbacks.IContextStream< in TContext >.


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