Last active
January 3, 2016 05:59
-
-
Save edewit/8419920 to your computer and use it in GitHub Desktop.
Usage Java simple push client
This file contains hidden or 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
SimplePushClient client = new SimplePushClient("ws://localhost:7777/simplepush/websocket"); | |
client.connect(); | |
client.register(new RegistrationListener() { | |
@Override | |
public void onRegistered(String channelId, String simplePushEndPoint) { | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment