This interface is only used by deprecated methods and will be removed in a future release.
@Deprecated public interface TopicTreeHandler
session
that establish a server side control presence for a
branch of the topic tree.Modifier and Type | Interface and Description |
---|---|
static class |
TopicTreeHandler.Default
Deprecated.
Abstract Default Topic Tree Handler.
|
Modifier and Type | Method and Description |
---|---|
void |
onActive(String topicPath,
RegisteredHandler registeredHandler)
Deprecated.
Called when the handler has been registered at the server and is now
active.
|
void |
onClose(String topicPath)
Deprecated.
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,
first close
the previous handler.
topicPath
- the path that the handler is active forregisteredHandler
- allows the handler to be closedCopyright © 2024 DiffusionData Ltd. All Rights Reserved.