public class Push
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Push |
receive(java.lang.String status,
IMessageCallback callback)
Registers for notifications on status messages
|
Push |
timeout(ITimeoutCallback callback)
Registers for notification of message response timeout
|
public Push receive(java.lang.String status, IMessageCallback callback)
status - The message status to register callbacks oncallback - The callback handlerpublic Push timeout(ITimeoutCallback callback)
callback - The callback handler called when timeout is reached