Interface ContinuationServiceDelegate
- All Known Implementing Classes:
ContinuationServiceLocalDelegate,ContinuationServiceRemoteDelegate
public interface ContinuationServiceDelegate
-
Method Summary
Modifier and TypeMethodDescriptionisSubscribed(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 Details
-
sendMessage
Send individual message to client by channel.- Parameters:
exoID- the client id.channel- the channel that listen client.message- the message (JSON format).msgId- the id of message.
-
isSubscribed
- Parameters:
exoID- the client id.channel- the channel id- Returns:
- true if client subscribed on channel.
-
sendBroadcastMessage
Send public message to all that subscribed on channel.- Parameters:
channel- the channel id.message- the message (JSON format).msgId- the id of message.
-