Class DefaultServerHandler

Abstract default server handler.

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

Inheritance
System.Object
DefaultServerHandler
Implements
IServerHandler
Namespace: PushTechnology.ClientInterface.Client.Callbacks
Assembly: Diffusion.Client.dll
Syntax
public class DefaultServerHandler : object, IServerHandler

Methods

OnClose()

Logs the close event.

Declaration
public virtual void OnClose()

OnError(ErrorReason)

Logs the error event.

Declaration
public virtual void OnError(ErrorReason errorReason)
Parameters
Type Name Description
ErrorReason errorReason

The error reason.

OnRegistered(IRegistration)

Logs the registration event.

Declaration
public virtual void OnRegistered(IRegistration registration)
Parameters
Type Name Description
IRegistration registration

The registration details.

Implements

IServerHandler
Back to top