Diffusion .NET Client Library
6.1.5
|
The default ITopicTreeHandler implementation. More...
Public Member Functions | |
virtual void | OnActive (string topicPath, IRegisteredHandler registeredHandler) |
Called when the handler has been registered at the server and is now active. More... | |
virtual void | OnClose (string topicPath) |
Called if the handler is closed. More... | |
The default ITopicTreeHandler implementation.
This simply logs calls at 'debug' level. This can be overridden to perform some more specific action.
|
virtual |
Called when the handler has been registered at the server and is now active.
A session can register a single handler of each type for a given branch of the topic tree. If there is already a handler registered for the topic path the operation will fail, registeredHandler will be closed, and the session error handler will be notified. To change the handler, first close the previous handler via IRegisteredHandler.Close().
topicPath | The path that the handler is active for. |
registeredHandler | The registration that is able to close the handler. |
Implements PushTechnology.ClientInterface.Client.Features.ITopicTreeHandler.
|
virtual |
Called if the handler is closed.
The handler will be closed if the session is closed after the handler has been registered, or if the handler is unregistered using IRegisteredHandler.Close().
topicPath | The branch of the topic tree for which the handler was registered. |
Implements PushTechnology.ClientInterface.Client.Features.ITopicTreeHandler.