Created
January 16, 2016 19:43
-
-
Save AndrejGajdos/60c8db58283a401859cb to your computer and use it in GitHub Desktop.
Subscribing message from server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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