Package org.cometd.bayeux.server
Interface ServerSession.AddListener
- All Superinterfaces:
Bayeux.BayeuxListener
,EventListener
,ServerSession.AddedListener
,ServerSession.ServerSessionListener
- Enclosing interface:
ServerSession
Deprecated.
Listener objects that implement this interface will be notified of session addition.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
added
(ServerSession session) Deprecated.Callback method invoked when the session is added to aBayeuxServer
.default void
added
(ServerSession session, ServerMessage message) Deprecated.Callback method invoked when the session is added to aBayeuxServer
.
-
Method Details
-
added
Deprecated.Description copied from interface:ServerSession.AddedListener
Callback method invoked when the session is added to a
BayeuxServer
.- Specified by:
added
in interfaceServerSession.AddedListener
- Parameters:
session
- the added sessionmessage
- the message that caused the session addition
-
added
Deprecated.Callback method invoked when the session is added to a
BayeuxServer
.- Parameters:
session
- the added session
-
ServerSession.AddedListener
instead