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