Interface BayeuxServer.SessionListener

    • Method Detail

      • sessionAdded

        default void sessionAdded​(ServerSession session,
                                  ServerMessage message)

        Callback invoked when a ServerSession has been added to a BayeuxServer object.

        Parameters:
        session - the session that has been added
        message - the handshake message from the client
      • sessionRemoved

        default void sessionRemoved​(ServerSession session,
                                    ServerMessage message,
                                    boolean timeout)

        Callback invoked when a ServerSession has been removed from a BayeuxServer object.

        Parameters:
        session - the session that has been removed
        message - the message that caused the session removal, or null
        timeout - whether the session has been removed due to a timeout