public interface JavaSender
| Modifier and Type | Method and Description |
|---|---|
String |
getServerURL()
Returns the current configured server URL
|
void |
send(UnifiedMessage unifiedMessage)
Sends the given payload to installations of the referenced PushApplication.
|
void |
send(UnifiedMessage unifiedMessage,
MessageResponseCallback callback)
Sends the given payload to installations of the referenced PushApplication.
|
void |
setServerURL(String serverURL)
Set the new server URL
|
void send(UnifiedMessage unifiedMessage, MessageResponseCallback callback)
MessageResponseCallback to handle the messageunifiedMessage - the UnifiedMessage to send.callback - the MessageResponseCallback.void send(UnifiedMessage unifiedMessage)
unifiedMessage - The UnifiedMessage to send.String getServerURL()
void setServerURL(String serverURL)
serverURL - the new server url the sender will bind to.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.