|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcometedgwt.auction.client.StreamingServiceGWTClientImpl
public class StreamingServiceGWTClientImpl
This class contains all the internals used by a GWT to interact with the streaming server. Use it
| Method Summary | |
|---|---|
static StreamingService |
getInstance()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static StreamingService getInstance()
public void sendMessage(String topicName,
String data)
StreamingService
sendMessage in interface StreamingService
public void sendMessage(String topicName,
com.google.gwt.json.client.JSONValue object)
StreamingService
sendMessage in interface StreamingService
public void subScribeToEvent(String topicName,
com.google.gwt.user.client.rpc.AsyncCallback callback)
StreamingService
subScribeToEvent in interface StreamingService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||