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 |
---|---|
Set<String> |
getSessionIds(String userName)
Deprecated.
Return the active session ids for the user.
|
void |
registerSessionId(String userName,
String sessionId)
Deprecated.
Register an active session id for a user.
|
void |
unregisterSessionId(String userName,
String sessionId)
Deprecated.
Unregister an active session id for a user.
|
Set<String> getSessionIds(String userName)
userName
- the user to look upnull
.void registerSessionId(String userName, String sessionId)
userName
- the user namesessionId
- the session id