Diffusion .NET Client Library
6.1.5
|
This the base interface for all callback handlers registered via the client session that establish a server-side control presence for the client. More...
Public Member Functions | |
void | OnActive (IRegisteredHandler registeredHandler) |
Called when the handler has been registered at the server and is now active. More... | |
void | OnClose () |
Called if the handler is closed. This happens if the call to register the handler fails, or the handler is unregistered. More... | |
This the base interface for all callback handlers registered via the client session that establish a server-side control presence for the client.
void PushTechnology.ClientInterface.Client.Features.IServerHandler.OnActive | ( | IRegisteredHandler | registeredHandler | ) |
Called when the handler has been registered at the server and is now active.
A session can register at most one a single 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.
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Clients.CompositeControlAuthenticationHandler, and PushTechnology.ClientInterface.Client.Features.Control.Clients.QueueEventHandlerDefault.
void PushTechnology.ClientInterface.Client.Features.IServerHandler.OnClose | ( | ) |
Called if the handler is closed. This happens if the call to register the handler fails, or the handler is unregistered.
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Clients.CompositeControlAuthenticationHandler, and PushTechnology.ClientInterface.Client.Features.Control.Clients.QueueEventHandlerDefault.