Class ContinuationServiceLocalDelegate

    • Constructor Detail

      • ContinuationServiceLocalDelegate

        public ContinuationServiceLocalDelegate​(ContinuationService continuationService)
    • Method Detail

      • sendMessage

        public void sendMessage​(String exoId,
                                String channel,
                                String message,
                                String msgId)
        Send individual message to client by channel.
        Specified by:
        sendMessage in interface ContinuationServiceDelegate
        Parameters:
        exoId - the client id.
        channel - the channel that listen client.
        message - the message (JSON format).
        msgId - the id of message.
      • sendBroadcastMessage

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