DiffusionTM Java API 6.6.0-preview.1
|Constructor and Description|
|Modifier and Type||Method and Description|
Called if the handler is closed.
Notification of a contextual error related to this handler.
Called when the handler has been successfully registered with the server.
public void onRegistered(String topicPath, Registration registration)
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,
registration will be closed, and
the session error handler will be notified. To change the handler, first
close the previous handler.
public void onClose(String topicPath)
No further calls will be made for the handler.
public void onError(String topicPath, ErrorReason errorReason)
onErroris called include the session being closed before the handler is registered, a communication timeout, or a problem with the provided parameters. No further calls will be made to this handler.
Copyright © 2020 Push Technology Ltd. All Rights Reserved.