ServerSession.RemovedListener instead@Deprecated public static interface ServerSession.RemoveListener extends ServerSession.RemovedListener
Listeners objects that implement this interface will be notified of session removal.
| Modifier and Type | Method and Description |
|---|---|
void |
removed(ServerSession session,
boolean timeout)
Deprecated.
Callback invoked when the session is removed.
|
default void |
removed(ServerSession session,
ServerMessage message,
boolean timeout)
Deprecated.
Callback invoked when the session is removed.
|
default void removed(ServerSession session, ServerMessage message, boolean timeout)
ServerSession.RemovedListenerCallback invoked when the session is removed.
removed in interface ServerSession.RemovedListenersession - the removed sessionmessage - the message that caused the session removal, or nulltimeout - whether the session has been removed due to a timeoutvoid removed(ServerSession session, boolean timeout)
Callback invoked when the session is removed.
session - the removed sessiontimeout - whether the session has been removed due to a timeoutCopyright © 2008–2025 The CometD Project. All rights reserved.