Constructor and Description |
---|
WebsocketUserManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
addChannelId(String userId,
String channel,
String channelId)
Add user channel ID associated with given session based user ID and channel name.
|
protected void |
deregister(Serializable user,
String userId)
Deregister application user associated with given user and session based user ID.
|
protected Set<String> |
getChannelIds(Serializable user,
String channel)
Resolve the user-specific channel IDs associated with given user and channel name.
|
protected Serializable |
getUser(String channel,
String channelId)
Resolve the user associated with given channel name and ID.
|
protected void |
register(Serializable user,
String userId)
Register application user based on given user and session based user ID.
|
protected void register(Serializable user, String userId)
user
- The user.userId
- The session based user ID.protected void addChannelId(String userId, String channel, String channelId)
userId
- The session based user ID.channel
- The channel name.channelId
- The channel identifier.protected Serializable getUser(String channel, String channelId)
channel
- The channel name.channelId
- The channel identifier.protected Set<String> getChannelIds(Serializable user, String channel)
user
- The user.channel
- The channel name.protected void deregister(Serializable user, String userId)
user
- The user.userId
- The session based user ID.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.