| Package | Description |
|---|---|
| javapns.notification.transmission |
Specialized classes for transmitting notifications to large number of devices.
|
| Modifier and Type | Method and Description |
|---|---|
NotificationThread |
NotificationThread.start()
Start the transmission thread.
|
| Modifier and Type | Method and Description |
|---|---|
List<NotificationThread> |
NotificationThreads.getThreads()
Get a list of threads created to push notifications.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NotificationProgressListener.eventConnectionRestarted(NotificationThread notificationThread) |
void |
NotificationProgressListener.eventCriticalException(NotificationThread notificationThread,
Exception exception) |
void |
NotificationProgressListener.eventThreadFinished(NotificationThread notificationThread) |
void |
NotificationProgressListener.eventThreadStarted(NotificationThread notificationThread) |
| Constructor and Description |
|---|
NotificationThreads(Object keystore,
String password,
boolean production,
Payload payload,
List<Device> devices,
List<NotificationThread> threads)
Spread the devices evenly between the provided threads.
|
NotificationThreads(Object keystore,
String password,
boolean production,
Payload payload,
List<NotificationThread> threads)
Use the provided threads which should already each have their group of devices to work with.
|
Copyright © 2016. All rights reserved.