public class AdmPushNotificationSender extends Object implements PushNotificationSender
| Constructor and Description |
|---|
AdmPushNotificationSender() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendPushMessage(Variant variant,
Collection<String> clientIdentifiers,
UnifiedPushMessage pushMessage,
String pushMessageInformationId,
NotificationSenderCallback senderCallback)
Sends the
UnifiedPushMessage to the given clients, identified by a collection of tokens, the underlying push network. |
public void sendPushMessage(Variant variant, Collection<String> clientIdentifiers, UnifiedPushMessage pushMessage, String pushMessageInformationId, NotificationSenderCallback senderCallback)
PushNotificationSenderUnifiedPushMessage to the given clients, identified by a collection of tokens, the underlying push network.sendPushMessage in interface PushNotificationSendervariant - contains details for the underlying push network, e.g. API Keys/IdsclientIdentifiers - platform specific collection of client identifierspushMessage - payload to be send to the given clientspushMessageInformationId - the id of the FlatPushMessageInformation instance associated with this send.senderCallback - invoked after submitting the request to the underlying push network to indicate the status
of the request (success or errorCopyright © 2018 JBoss by Red Hat. All rights reserved.