| Package | Description |
|---|---|
| javapns |
The JavaPNS library
|
| javapns.notification.transmission |
Specialized classes for transmitting notifications to large number of devices.
|
| Modifier and Type | Method and Description |
|---|---|
static PushQueue |
Push.queue(Object keystore,
String password,
boolean production,
int numberOfThreads)
Build and start an asynchronous queue for sending notifications later without opening and closing connections.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NotificationThread
Pushes payloads asynchroneously using a dedicated thread.
|
class |
NotificationThreads
Pushes a payload to a large number of devices using multiple threads
|
| Modifier and Type | Method and Description |
|---|---|
PushQueue |
PushQueue.add(Payload payload,
Device device)
Queue a message for delivery.
|
PushQueue |
NotificationThreads.add(Payload payload,
Device device) |
PushQueue |
NotificationThread.add(Payload payload,
Device device) |
PushQueue |
PushQueue.add(PayloadPerDevice message)
Queue a message for delivery.
|
PushQueue |
NotificationThreads.add(PayloadPerDevice message) |
PushQueue |
NotificationThread.add(PayloadPerDevice message) |
PushQueue |
PushQueue.add(Payload payload,
String token)
Queue a message for delivery.
|
PushQueue |
NotificationThreads.add(Payload payload,
String token) |
PushQueue |
NotificationThread.add(Payload payload,
String token) |
PushQueue |
PushQueue.start()
Start the transmission thread(s) working for the queue.
|
Copyright © 2016. All rights reserved.