Interface ServerSession.RemoveListener

    • Method Detail

      • removed

        default void removed​(ServerSession session,
                             ServerMessage message,
                             boolean timeout)
        Deprecated.
        Description copied from interface: ServerSession.RemovedListener

        Callback invoked when the session is removed.

        Specified by:
        removed in interface ServerSession.RemovedListener
        Parameters:
        session - the removed session
        message - the message that caused the session removal, or null
        timeout - whether the session has been removed due to a timeout
      • removed

        void removed​(ServerSession session,
                     boolean timeout)
        Deprecated.

        Callback invoked when the session is removed.

        Parameters:
        session - the removed session
        timeout - whether the session has been removed due to a timeout