public interface SimpUserRegistry
Modifier and Type | Method and Description |
---|---|
Set<SimpSubscription> |
findSubscriptions(SimpSubscriptionMatcher matcher)
Find subscriptions with the given matcher.
|
SimpUser |
getUser(String userName)
Get the user for the given name.
|
Set<SimpUser> |
getUsers()
Return a snapshot of all connected users.
|
SimpUser getUser(String userName)
userName
- the name of the user to look upnull
if not connectedSet<SimpUser> getUsers()
Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher)
matcher
- the matcher to use