This interface is only used by deprecated methods and will be removed in a future release.
@Deprecated public interface ServerHandler
session
that establish a server side control presence for the
client.Modifier and Type | Interface and Description |
---|---|
static class |
ServerHandler.Default
Deprecated.
Abstract default server handler.
|
Modifier and Type | Method and Description |
---|---|
void |
onActive(RegisteredHandler registeredHandler)
Deprecated.
Called when the handler has been registered at the server and is now
active.
|
void |
onClose()
Deprecated.
Called if the handler is closed.
|
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.
registeredHandler
- a reference that allows the handler to be closedvoid onClose()
close
.Copyright © 2024 DiffusionData Ltd. All Rights Reserved.