public class NotificationDispatcher extends Object
TokenLoader
and generates metrics that are sent for further processing to MetricsCollector.| Constructor and Description |
|---|
NotificationDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendMessagesToPushNetwork(MessageHolderWithTokens msg)
Receives a
UnifiedPushMessage and list of device tokens that the message should be sent to, selects appropriate sender implementation that
the push notifications are submitted to. |
public void sendMessagesToPushNetwork(@Observes
MessageHolderWithTokens msg)
UnifiedPushMessage and list of device tokens that the message should be sent to, selects appropriate sender implementation that
the push notifications are submitted to.
Once the sending process finishes, generates message for MetricsCollector with information how much devices was the notification submitted to.Copyright © 2015 JBoss by Red Hat. All Rights Reserved.