org.exoplatform.ws.frameworks.cometd.transport
Interface ContinuationServiceDelegate

All Known Implementing Classes:
ContinuationServiceLocalDelegate, ContinuationServiceRemoteDelegate

public interface ContinuationServiceDelegate

Created by The eXo Platform SAS.

Version:
$Id: $
Author:
Vitaly Parfonov

Method Summary
 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.
 

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.

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.


Copyright © 2013 eXo Platform SAS. All Rights Reserved.