Interface SimpUserRegistry
- All Known Implementing Classes:
- DefaultSimpUserRegistry,- MultiServerUserRegistry
public interface SimpUserRegistry
A registry of currently connected users.
- Since:
- 4.2
- Author:
- Rossen Stoyanchev
- 
Method SummaryModifier and TypeMethodDescriptionfindSubscriptions(SimpSubscriptionMatcher matcher) Find subscriptions with the given matcher.Get the user for the given name.intReturn the count of all connected users.getUsers()Return a snapshot of all connected users.
- 
Method Details- 
getUser
- 
getUsers
- 
getUserCountint getUserCount()Return the count of all connected users.- Returns:
- the number of connected users
- Since:
- 4.3.5
 
- 
findSubscriptionsFind subscriptions with the given matcher.- Parameters:
- matcher- the matcher to use
- Returns:
- a set of matching subscriptions, or an empty set if none
 
 
-