public class MockPushServerClient extends java.lang.Object implements PushServerClient
| Constructor and Description |
|---|
MockPushServerClient() |
| Modifier and Type | Method and Description |
|---|---|
org.tiogasolutions.push.pub.common.Push |
getLastPush() |
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 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.public org.tiogasolutions.push.pub.common.Push getLastPush()