| Package | Description |
|---|---|
| javapns |
The JavaPNS library
|
| javapns.devices |
Classes representing mobile devices.
|
| javapns.devices.implementations.basic |
A basic non-persistent implementation for devices.
|
| javapns.feedback |
Classes for interacting with the Apple Feedback Service.
|
| javapns.notification |
Classes for pushing notifications through Apple servers.
|
| javapns.notification.transmission |
Specialized classes for transmitting notifications to large number of devices.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Device> |
Push.feedback(Object keystore,
String password,
boolean production)
Retrieve a list of devices that should be removed from future notification lists.
|
| Modifier and Type | Method and Description |
|---|---|
Device |
DeviceFactory.addDevice(String id,
String token)
Deprecated.
Add a device to the map
|
Device |
DeviceFactory.getDevice(String id)
Deprecated.
Get a device according to his id
|
| Modifier and Type | Method and Description |
|---|---|
static List<Device> |
Devices.asDevices(Object rawList) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicDevice
This class is used to represent a Device (iPhone)
|
| Modifier and Type | Method and Description |
|---|---|
Device |
BasicDeviceFactory.addDevice(String id,
String token)
Deprecated.
Add a device to the map
|
Device |
BasicDeviceFactory.getDevice(String id)
Deprecated.
Get a device according to his id
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<Device> |
FeedbackServiceManager.getDevices(AppleFeedbackServer server) |
| Modifier and Type | Method and Description |
|---|---|
Device |
PushedNotification.getDevice()
Returns the device that the payload was pushed to.
|
Device |
PayloadPerDevice.getDevice() |
Device |
PushNotificationManager.getDevice(String id)
Deprecated.
The DeviceFactory-based architecture is deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
PushedNotification |
PushNotificationManager.sendNotification(Device device,
Payload payload)
Send a notification to a single device and close the connection.
|
PushedNotification |
PushNotificationManager.sendNotification(Device device,
Payload payload,
boolean closeAfter)
Send a notification (Payload) to the given device
|
PushedNotification |
PushNotificationManager.sendNotification(Device device,
Payload payload,
boolean closeAfter,
int identifier)
Send a notification (Payload) to the given device
|
PushedNotification |
PushNotificationManager.sendNotification(Device device,
Payload payload,
int identifier)
Send a notification (Payload) to the given device
|
PushedNotifications |
PushNotificationManager.sendNotifications(Payload payload,
Device... devices)
Send a notification to a multiple devices in a single connection and close the connection.
|
protected void |
PushedNotification.setDevice(Device device) |
| Modifier and Type | Method and Description |
|---|---|
PushedNotifications |
PushNotificationManager.sendNotifications(Payload payload,
List<Device> devices)
Send a notification to a multiple devices in a single connection and close the connection.
|
| Constructor and Description |
|---|
PayloadPerDevice(Payload payload,
Device device) |
PushedNotification(Device device,
Payload payload) |
PushedNotification(Device device,
Payload payload,
Exception exception) |
| Modifier and Type | Method and Description |
|---|---|
List<Device> |
NotificationThread.getDevices()
Get the list of devices associated with this thread.
|
| 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) |
| Constructor and Description |
|---|
NotificationThreads(AppleNotificationServer server,
Payload payload,
List<Device> devices,
int numberOfThreads)
Create the specified number of notification threads and spread the devices evenly between the threads.
|
NotificationThreads(Object keystore,
String password,
boolean production,
Payload payload,
List<Device> devices,
int numberOfThreads)
Create the specified number of notification threads and spread the devices evenly between the threads.
|
NotificationThreads(Object keystore,
String password,
boolean production,
Payload payload,
List<Device> devices,
List<NotificationThread> threads)
Spread the devices evenly between the provided threads.
|
Copyright © 2016. All rights reserved.