Class DefaultServerHandler
Abstract default server handler.
The methods on this handler simply log callbacks at debug level.
Inheritance
System.Object
DefaultServerHandler
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: PushTechnology.ClientInterface.Client.Callbacks
Assembly: Diffusion.Client.dll
Syntax
public class DefaultServerHandler : 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. |