DiffusionTM Java API 6.5.3
public abstract static class ServerHandler.Default extends Object implements ServerHandler
The methods on this handler simply log callbacks 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(RegisteredHandler registeredHandler)
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.
Copyright © 2020 Push Technology Ltd. All Rights Reserved.