SimpUserRegistry
in combination with
ApplicationListener
listening for
AbstractSubProtocolEvent
events.@Deprecated
public interface UserSessionRegistry
As of 4.2, this interface is replaced by SimpUserRegistry
,
exposing methods to return all registered users as well as to provide
more extensive information for each user.
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getSessionIds(java.lang.String userName)
Deprecated.
Return the active session ids for the user.
|
void |
registerSessionId(java.lang.String userName,
java.lang.String sessionId)
Deprecated.
Register an active session id for a user.
|
void |
unregisterSessionId(java.lang.String userName,
java.lang.String sessionId)
Deprecated.
Unregister an active session id for a user.
|
java.util.Set<java.lang.String> getSessionIds(java.lang.String userName)
userName
- the user to look upnull
.void registerSessionId(java.lang.String userName, java.lang.String sessionId)
userName
- the user namesessionId
- the session idvoid unregisterSessionId(java.lang.String userName, java.lang.String sessionId)
userName
- the user namesessionId
- the session id