@ApplicationScoped public class BroadcastManager extends Object
Constructor and Description |
---|
BroadcastManager() |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<String>> |
getSubscriptions() |
boolean |
isSubscribed(String sockJSSessionID,
String channel)
check if a specific sockJs session is subscribed or not to
a specific channel
|
void |
subscribe(String httpSessionID,
String channel) |
void |
unsubscribe(String httpSessionID,
String channel) |
public boolean isSubscribed(String sockJSSessionID, String channel)
sockJSSessionID
- sockJs Session idchannel
- the channelCopyright © 2015. All rights reserved.