public interface PushNotificationSender
UnifiedPushMessage to the proper message format of the actual push network and maintaining the connection to it.| Modifier and Type | Method and Description |
|---|---|
void |
sendPushMessage(Variant variant,
Collection<String> clientIdentifiers,
UnifiedPushMessage pushMessage,
NotificationSenderCallback senderCallback)
Sends the
UnifiedPushMessage to the given clients, identified by a collection of tokens, the underlying push network. |
void sendPushMessage(Variant variant, Collection<String> clientIdentifiers, UnifiedPushMessage pushMessage, NotificationSenderCallback senderCallback)
UnifiedPushMessage to the given clients, identified by a collection of tokens, the underlying push network.variant - 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 clientssenderCallback - invoked after submitting the request to the underlying push network to indicate the status
of the request (success or errorCopyright © 2014 JBoss by Red Hat. All Rights Reserved.