public interface SimpUserRegistry
Modifier and Type | Method and Description |
---|---|
java.util.Set<SimpSubscription> |
findSubscriptions(SimpSubscriptionMatcher matcher)
Find subscriptions with the given matcher.
|
SimpUser |
getUser(java.lang.String userName)
Get the user for the given name.
|
int |
getUserCount()
Return the count of all connected users.
|
java.util.Set<SimpUser> |
getUsers()
Return a snapshot of all connected users.
|
@Nullable SimpUser getUser(java.lang.String userName)
userName
- the name of the user to look upnull
if not connectedjava.util.Set<SimpUser> getUsers()
The returned set is a copy and will not reflect further changes.
int getUserCount()
java.util.Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher)
matcher
- the matcher to use