public interface SimpUser
Modifier and Type | Method and Description |
---|---|
String |
getName()
The unique user name.
|
SimpSession |
getSession(String sessionId)
Look up the session for the given id.
|
Set<SimpSession> |
getSessions()
Return the sessions for the user.
|
boolean |
hasSessions()
Whether the user has any sessions.
|
String getName()
boolean hasSessions()
@Nullable SimpSession getSession(String sessionId)
sessionId
- the session idnull
if none foundSet<SimpSession> getSessions()