This is a XPush JAVA library for using Java and Android.
Details and architecture associated with XPush is available by connecting to the following page.
Currently you can use to compile and download the source from git.
It will be supported in maven repository soon *
you can build from downloaded source in git repogitory,
In order to use the library to prepare the XPush Session Server and Channel server and the server must be able to connect to the Session. ApplicationId is just you serve to distinguish the system. In the same ApplicationId data such as user management and channel are separated.
The XPush constructor
The standard constructor take a host and an application id.
In order to send and receive messages you need to login to XPush server.
In order to send and receive messages you need to create channel.
Get All Channels name
Get Channel Object
Get All User List in Application
Get All User List in Channel
Send Message to all users in specific channel. Message type is JSONObject.
Receiving Message is available in two ways:
Receive all message without message_key.
The other way is specific message_key.
XPUSH is an opensource realtime communication platform for quickly, easily adding scalable functionality to web and mobile environment.
It lets you develop faster, deploy easier and scale bigger.