DiffusionTM Android API 6.6.0-preview.1
public static class ServerHandler.Default extends Object implements ServerHandler
The methods on this handler log callbacks at debug level.
|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(Registration registration)
A session can register at most one a single handler of each type. If
there is already a handler registered 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.
public void onClose()
No further calls will be made for the handler.
public void onError(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.