public class ContinuationServiceRemoteDelegate extends Object implements ContinuationServiceDelegate
| Constructor and Description |
|---|
ContinuationServiceRemoteDelegate(LoadBalancer loadBalancer,
org.exoplatform.container.ExoContainerContext context) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isSubscribed(String exoID,
String channel) |
void |
sendBroadcastMessage(String channel,
String message,
String msgId)
Send public message to all that subscribed on channel.
|
void |
sendMessage(String exoID,
String channel,
String message,
String msgId)
Send individual message to client by channel.
|
public ContinuationServiceRemoteDelegate(LoadBalancer loadBalancer, org.exoplatform.container.ExoContainerContext context)
public Boolean isSubscribed(String exoID, String channel)
isSubscribed in interface ContinuationServiceDelegateexoID - the client id.channel - the channel idpublic void sendMessage(String exoID, String channel, String message, String msgId)
sendMessage in interface ContinuationServiceDelegateexoID - the client id.channel - the channel that listen client.message - the message (JSON format).msgId - the id of message.public void sendBroadcastMessage(String channel, String message, String msgId)
sendBroadcastMessage in interface ContinuationServiceDelegatechannel - the channel id.message - the message (JSON format).msgId - the id of message.Copyright © 2003–2018 eXo Platform SAS. All rights reserved.