Table of Contents

Class DefaultServerHandler

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

Abstract default server handler.

The methods on this handler simply log callbacks at debug level.

public class DefaultServerHandler : IServerHandler
Inheritance
DefaultServerHandler
Implements
Inherited Members

Methods

OnClose()

Logs the close event.

public virtual void OnClose()

OnError(ErrorReason)

Logs the error event.

public virtual void OnError(ErrorReason errorReason)

Parameters

errorReason ErrorReason

The error reason.

OnRegistered(IRegistration)

Logs the registration event.

public virtual void OnRegistered(IRegistration registration)

Parameters

registration IRegistration

The registration details.