Interface ContinuationServiceDelegate

All Known Implementing Classes:
ContinuationServiceLocalDelegate, ContinuationServiceRemoteDelegate

public interface ContinuationServiceDelegate
Created by The eXo Platform SAS.
Version:
$Id: $
Author:
Vitaly Parfonov
  • Method Details

    • sendMessage

      void sendMessage(String exoID, String channel, String message, String msgId)
      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

      Boolean isSubscribed(String exoID, String channel)
      Parameters:
      exoID - the client id.
      channel - the channel id
      Returns:
      true if client subscribed on channel.
    • sendBroadcastMessage

      void sendBroadcastMessage(String channel, String message, String msgId)
      Send public message to all that subscribed on channel.
      Parameters:
      channel - the channel id.
      message - the message (JSON format).
      msgId - the id of message.