Uses of Class
javapns.notification.Payload

Packages that use Payload
javapns The JavaPNS library See the javapns.Push class for easy push notifications. 
javapns.notification Classes for pushing notifications through Apple servers. 
javapns.notification.management Specific payloads for Apple's MDM technology MDM is not involved in Apple Push Notification, but uses the same communication technologies as APN. 
javapns.notification.transmission Specialized classes for transmitting notifications to large number of devices. 
 

Uses of Payload in javapns
 

Methods in javapns with parameters of type Payload
static PushedNotifications Push.payload(Payload payload, Object keystore, String password, boolean production, int numberOfThreads, Object devices)
          Push a preformatted payload to a list of devices using multiple simulatenous threads (and connections).
static PushedNotifications Push.payload(Payload payload, Object keystore, String password, boolean production, Object devices)
          Push a preformatted payload to a list of devices.
 

Uses of Payload in javapns.notification
 

Subclasses of Payload in javapns.notification
 class NewsstandNotificationPayload
          A Newsstand-specific payload compatible with the Apple Push Notification Service.
 class PushNotificationPayload
          A payload compatible with the Apple Push Notification Service.
 

Methods in javapns.notification that return Payload
 Payload Payload.asSimulationOnly()
          Enables a special simulation mode which causes the library to behave as usual *except* that at the precise point where the payload would actually be streamed out to Apple, it is not.
 Payload PushedNotification.getPayload()
          Returns the payload that was pushed.
 Payload PayloadPerDevice.getPayload()
           
 

Methods in javapns.notification with parameters of type Payload
 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.
 PushedNotifications PushNotificationManager.sendNotifications(Payload payload, List<Device> devices)
          Send a notification to a multiple devices in a single connection and close the connection.
protected  void PushedNotification.setPayload(Payload payload)
           
 

Constructors in javapns.notification with parameters of type Payload
PayloadPerDevice(Payload payload, Device device)
           
PayloadPerDevice(Payload payload, String token)
           
PushedNotification(Device device, Payload payload)
           
PushedNotification(Device device, Payload payload, Exception exception)
           
PushedNotification(Device device, Payload payload, int identifier)
           
 

Uses of Payload in javapns.notification.management
 

Subclasses of Payload in javapns.notification.management
 class APNPayload
          An MDM payload for APN (Access Point Name).
 class CalDAVPayload
          An MDM payload for CalDAV.
 class CalendarSubscriptionPayload
          An MDM payload for CalendarSubscription.
 class EmailPayload
          An MDM payload for Email.
 class LDAPPayload
          An MDM payload for LDAP.
 class MobileConfigPayload
          A payload template compatible with Apple Mobile Device Management's Config Payload specification (beta version).
 class PasswordPolicyPayload
          An MDM payload for PasswordPolicy.
 class RemovalPasswordPayload
          An MDM payload for RemovalPassword.
 class RestrictionsPayload
          An MDM payload for Restrictions.
 class SCEPPayload
          An MDM payload for SCEP (Simple Certificate Enrollment Protocol).
 class VPNPayload
          An MDM payload for VPN.
 class WebClipPayload
          An MDM payload for WebClip.
 class WiFiPayload
          An MDM payload for Wi-Fi.
 

Uses of Payload in javapns.notification.transmission
 

Methods in javapns.notification.transmission with parameters of type Payload
 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(Payload payload, String token)
          Queue a message for delivery.
 PushQueue NotificationThreads.add(Payload payload, String token)
           
 PushQueue NotificationThread.add(Payload payload, String token)
           
 

Constructors in javapns.notification.transmission with parameters of type Payload
NotificationThread(NotificationThreads threads, PushNotificationManager notificationManager, AppleNotificationServer server, Payload payload, Object devices)
          Create a grouped thread in LIST mode for pushing a single payload to a list of devices and coordinating with a parent NotificationThreads object.
NotificationThread(PushNotificationManager notificationManager, AppleNotificationServer server, Payload payload, Object devices)
          Create a standalone thread in LIST mode for pushing a single payload to a list of devices.
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(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, 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.
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 © 2013. All Rights Reserved.