Interface ServerSession.AddedListener

All Superinterfaces:
Bayeux.BayeuxListener, EventListener, ServerSession.ServerSessionListener
Enclosing interface:
ServerSession

public static interface ServerSession.AddedListener extends ServerSession.ServerSessionListener

Listener objects that implement this interface will be notified of session addition.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    added​(ServerSession session, ServerMessage message)
    Callback method invoked when the session is added to a BayeuxServer.
  • Method Details

    • added

      void added(ServerSession session, ServerMessage message)

      Callback method invoked when the session is added to a BayeuxServer.

      Parameters:
      session - the added session
      message - the message that caused the session addition