Table of Contents

Class DefaultCallback

Namespace
PushTechnology.ClientInterface.Client.Callbacks
Assembly
Diffusion.Client.dll

The default ICallback implementation.

public class DefaultCallback : ICallback
Inheritance
DefaultCallback
Implements
Derived
Inherited Members

Remarks

This simply logs OnError(ErrorReason) calls at debug level. This should be overridden to perform more specific error handling.

Methods

OnError(ErrorReason)

Notification of a contextual error related to this callback.

public virtual void OnError(ErrorReason errorReason)

Parameters

errorReason ErrorReason

The reason for the error.

Remarks

This is analogous to an exception being raised. Situations in which this method 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 for the call context.