DiffusionTM Android API 6.5.2
public interface TopicTreeHandler
sessionthat establish a server side control presence for a branch of the topic tree.
|Modifier and Type||Interface and Description|
Abstract Default Topic Tree Handler.
|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.
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.
topicPath- the path that the handler is active for
registeredHandler- allows the handler to be closed
Copyright © 2020 Push Technology Ltd. All Rights Reserved.