|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StreamingService
| Method Summary | |
|---|---|
void |
sendMessage(String topicName,
com.google.gwt.json.client.JSONValue object)
With this method clients can push JSON data on a named topic. |
void |
sendMessage(String topicName,
String data)
With this method clients can push String data on a named topic. |
void |
subScribeToEvent(String topicName,
com.google.gwt.user.client.rpc.AsyncCallback callback)
GWT clients use this method to subscribe to a named stream. |
| Method Detail |
|---|
void sendMessage(String topicName,
String data)
topicName - data -
void sendMessage(String topicName,
com.google.gwt.json.client.JSONValue object)
topicName - data -
void subScribeToEvent(String topicName,
com.google.gwt.user.client.rpc.AsyncCallback callback)
topicName - callback -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||