public class WNSPushNotificationSender extends Object implements PushNotificationSender
| Constructor and Description |
|---|
WNSPushNotificationSender() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPushMessageInformationId() |
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. |
void |
setPushMessageInformationId(String pushMessageInformationId) |
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 errorpublic String getPushMessageInformationId()
public void setPushMessageInformationId(String pushMessageInformationId)
Copyright © 2017 JBoss by Red Hat. All rights reserved.