Interface ContinuationServiceDelegate
-
- All Known Implementing Classes:
ContinuationServiceLocalDelegate,ContinuationServiceRemoteDelegate
public interface ContinuationServiceDelegateCreated by The eXo Platform SAS.- Version:
- $Id: $
- Author:
- Vitaly Parfonov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleanisSubscribed(String exoID, String channel)voidsendBroadcastMessage(String channel, String message, String msgId)Send public message to all that subscribed on channel.voidsendMessage(String exoID, String channel, String message, String msgId)Send individual message to client by channel.
-
-
-
Method Detail
-
sendMessage
void sendMessage(String exoID, String channel, String message, String msgId)
Send individual message to client by channel.- Parameters:
channel- the channel that listen client.exoID- the client id.message- the message (JSON format).msgId- the id of message.
-
isSubscribed
Boolean isSubscribed(String exoID, String channel)
- Parameters:
exoID- the client id.channel- the channel id- Returns:
- true if client subscribed on channel.
-
-