DiffusionTM Java API 6.6.0-preview.1
public abstract static class TopicTreeHandler.Default extends Object implements TopicTreeHandler
This simply logs active and closed notifications at debug level.
|Constructor and Description|
|Modifier and Type||Method and Description|
Called when the handler has been registered at the server and is now active.
Called if the handler is closed.
public void onActive(String topicPath, RegisteredHandler registeredHandler)
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,
close the previous handler.
public void onClose(String topicPath)
Copyright © 2020 Push Technology Ltd. All Rights Reserved.