public class LivePushServerClient extends java.lang.Object implements PushServerClient
| Constructor and Description |
|---|
LivePushServerClient(org.tiogasolutions.lib.jaxrs.jackson.SimpleRestClient client) |
LivePushServerClient(java.lang.String url) |
LivePushServerClient(java.lang.String url,
java.lang.String userName,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
org.tiogasolutions.lib.jaxrs.jackson.SimpleRestClient |
getClient() |
long |
ping()
Sends a "PingPush" server which does not
result in any type of notification but
simply asserts that the service is alive.
|
org.tiogasolutions.push.pub.common.PushResponse |
send(org.tiogasolutions.push.pub.common.Push push)
Sends the Push to the server for processing.
|
public LivePushServerClient(java.lang.String url)
public LivePushServerClient(java.lang.String url,
java.lang.String userName,
java.lang.String password)
public LivePushServerClient(org.tiogasolutions.lib.jaxrs.jackson.SimpleRestClient client)
public org.tiogasolutions.lib.jaxrs.jackson.SimpleRestClient getClient()
public long ping()
PushServerClientping in interface PushServerClientpublic org.tiogasolutions.push.pub.common.PushResponse send(org.tiogasolutions.push.pub.common.Push push)
PushServerClientsend in interface PushServerClientpush - One of many types of Pushes.