Interface SimpUserRegistry

    • Method Detail

      • getUser

        SimpUser getUser​(String userName)
        Get the user for the given name.
        Parameters:
        userName - the name of the user to look up
        Returns:
        the user, or null if not connected
      • getUsers

        Set<SimpUsergetUsers()
        Return a snapshot of all connected users.

        The returned set is a copy and will not reflect further changes.

        Returns:
        the connected users, or an empty set if none
      • getUserCount

        int getUserCount()
        Return the count of all connected users.
        Returns:
        the number of connected users
        Since:
        4.3.5