Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Callbacks.DefaultCallback Class Reference

Abstract default callback. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Callbacks.DefaultCallback:
PushTechnology.ClientInterface.Client.Callbacks.ICallback PushTechnology.ClientInterface.Client.Callbacks.DefaultStreamCallback PushTechnology.ClientInterface.Client.Callbacks.StreamDefault PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlRemovalCallbackDefault PushTechnology.ClientInterface.Client.Features.DefaultMessageStream PushTechnology.ClientInterface.Client.Features.TopicStreamDefault

Public Member Functions

virtual void OnError (ErrorReason errorReason)
 Notification of a contextual error related to this callback. This is analogous to an exception being raised. Situations in which More...
 

Detailed Description

Abstract default callback.

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.

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Callbacks.DefaultCallback.OnError ( ErrorReason  errorReason)
virtual

Notification of a contextual error related to this callback. This is analogous to an exception being raised. Situations in which

OnError is called include the session being closed, a communication timeout, or a problem with the provided parameters. No further calls will be made to this callback.

Parameters
errorReasonerrorReason a value representing the error; this can be one of constants defined in ErrorReason, or a feature-specific reason.

Implements PushTechnology.ClientInterface.Client.Callbacks.ICallback.


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