Table of Contents

Interface IServerHandler

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

This is the base interface for all callback handlers registered through the client session that establish a server-side control presence for the client.

[Obsolete("This interface is only used by deprecated methods and will beremoved in a future release.", false)]
public interface IServerHandler

Remarks

Caution

Deprecated since 6.7. This interface is only used by deprecated methods and will be removed in a future release.

Methods

OnActive(IRegisteredHandler)

Called when the handler has been registered at the server and is now active.

A session can register at most one handler of each type. If there is already a handler registered for the topic path the operation will fail, the registered handler will be closed, and the session error handler will be notified. To change the handler, first close the previous handler.

void OnActive(IRegisteredHandler registeredHandler)

Parameters

registeredHandler IRegisteredHandler

The registered handler.

OnClose()

Called if the handler is closed. This happens if the call to register the handler fails, or the handler is unregistered.

void OnClose()