Interface BayeuxServer.SessionListener

    • Method Detail

      • sessionAdded

        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

        void sessionRemoved​(ServerSession session,
                            boolean timedout)

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

        Parameters:
        session - the session that has been removed
        timedout - whether the session has been removed for a timeout or not