ServerSession.AddedListener
instead@Deprecated public static interface ServerSession.AddListener extends ServerSession.AddedListener
Listener objects that implement this interface will be notified of session addition.
Modifier and Type | Method and Description |
---|---|
void |
added(ServerSession session)
Deprecated.
Callback method invoked when the session is added to a
BayeuxServer . |
default void |
added(ServerSession session,
ServerMessage message)
Deprecated.
Callback method invoked when the session is added to a
BayeuxServer . |
default void added(ServerSession session, ServerMessage message)
ServerSession.AddedListener
Callback method invoked when the session is added to a BayeuxServer
.
added
in interface ServerSession.AddedListener
session
- the added sessionmessage
- the message that caused the session additionvoid added(ServerSession session)
Callback method invoked when the session is added to a BayeuxServer
.
session
- the added sessionCopyright © 2008–2024 The CometD Project. All rights reserved.