Skip to content

Instantly share code, notes, and snippets.

@AndrejGajdos
Created January 16, 2016 19:43
Show Gist options
  • Save AndrejGajdos/60c8db58283a401859cb to your computer and use it in GitHub Desktop.
Save AndrejGajdos/60c8db58283a401859cb to your computer and use it in GitHub Desktop.
Subscribing message from server
bus.subscribe("ClientService", new MessageCallback() {
public void callback(Message message) {
Window.alert("ClientService message is received. " + message.get(String.class, "text"));
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment