|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use NotificationThread | |
|---|---|
| javapns.notification.transmission | Specialized classes for transmitting notifications to large number of devices. |
| Uses of NotificationThread in javapns.notification.transmission |
|---|
| Methods in javapns.notification.transmission that return NotificationThread | |
|---|---|
protected NotificationThread |
NotificationThreads.getNextAvailableThread()
Get the next available thread. |
protected NotificationThread |
NotificationThreads.getNextThread()
Get the next thread to use. |
NotificationThread |
NotificationThread.start()
Start the transmission thread. |
| Methods in javapns.notification.transmission that return types with arguments of type NotificationThread | |
|---|---|
List<NotificationThread> |
NotificationThreads.getThreads()
Get a list of threads created to push notifications. |
| Methods in javapns.notification.transmission with parameters of type NotificationThread | |
|---|---|
void |
NotificationProgressListener.eventConnectionRestarted(NotificationThread notificationThread)
|
void |
NotificationProgressListener.eventCriticalException(NotificationThread notificationThread,
Exception exception)
|
void |
NotificationProgressListener.eventThreadFinished(NotificationThread notificationThread)
|
void |
NotificationProgressListener.eventThreadStarted(NotificationThread notificationThread)
|
protected void |
NotificationThreads.threadFinished(NotificationThread notificationThread)
Worker threads invoke this method as soon as they have completed their work. |
| Constructor parameters in javapns.notification.transmission with type arguments of type NotificationThread | |
|---|---|
NotificationThreads(AppleNotificationServer server,
Payload payload,
List<Device> devices,
List<NotificationThread> threads)
Spread the devices evenly between the provided threads. |
|
NotificationThreads(AppleNotificationServer server,
Payload payload,
List<NotificationThread> threads)
Use the provided threads which should already each have their group of devices to work with. |
|
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. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||