Uses of Class
javapns.communication.exceptions.CommunicationException

Packages that use CommunicationException
javapns The JavaPNS library 
javapns.communication Classes for communicating with Apple servers. 
javapns.feedback Classes for interacting with the Apple Feedback Service. 
javapns.notification Classes for pushing notifications through Apple servers. 
 

Uses of CommunicationException in javapns
 

Methods in javapns that throw CommunicationException
static PushedNotifications Push.alert(String message, Object keystore, String password, boolean production, Object devices)
          Push a simple alert to one or more devices.
static PushedNotifications Push.badge(int badge, Object keystore, String password, boolean production, Object devices)
          Push a simple badge number to one or more devices.
static PushedNotifications Push.combined(String message, int badge, String sound, Object keystore, String password, boolean production, Object devices)
          Push a notification combining an alert, a badge and a sound.
static PushedNotifications Push.contentAvailable(Object keystore, String password, boolean production, Object devices)
          Push a content-available notification for Newsstand.
static List<Device> Push.feedback(Object keystore, String password, boolean production)
          Retrieve a list of devices that should be removed from future notification lists.
static PushedNotifications Push.payload(Payload payload, Object keystore, String password, boolean production, Object devices)
          Push a preformatted payload to a list of devices.
static PushedNotifications Push.payloads(Object keystore, String password, boolean production, Object payloadDevicePairs)
          Push a different preformatted payload for each device.
static PushedNotifications Push.sound(String sound, Object keystore, String password, boolean production, Object devices)
          Push a simple sound name to one or more devices.
static PushedNotifications Push.test(Object keystore, String password, boolean production, Object devices)
          Push a special test notification with an alert message containing useful debugging information.
 

Uses of CommunicationException in javapns.communication
 

Methods in javapns.communication that throw CommunicationException
 SSLSocket ConnectionToAppleServer.getSSLSocket()
          Create a SSLSocket which will be used to send data to Apple
 

Uses of CommunicationException in javapns.feedback
 

Methods in javapns.feedback that throw CommunicationException
 LinkedList<Device> FeedbackServiceManager.getDevices(AppleFeedbackServer server)
           
 

Uses of CommunicationException in javapns.notification
 

Methods in javapns.notification that throw CommunicationException
 void PushNotificationManager.initializeConnection(AppleNotificationServer server)
          Initialize a connection and create a SSLSocket
 void PushNotificationManager.initializePreviousConnection()
          Initialize a connection using server settings from the previous connection.
 void PushNotificationManager.restartConnection(AppleNotificationServer server)
          Stop and restart the current connection to the Apple server
 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.
 void PushNotificationManager.stopConnection()
          Read and process any pending error-responses, and then close the connection.
 



Copyright © 2016. All Rights Reserved.