Uses of Class
javapns.communication.exceptions.KeystoreException

Packages that use KeystoreException
javapns The JavaPNS library 
javapns.communication Classes for communicating with Apple servers. 
javapns.communication.exceptions Communication-related exceptions thrown by the javapns library. 
javapns.feedback Classes for interacting with the Apple Feedback Service. 
javapns.notification Classes for pushing notifications through Apple servers. 
 

Uses of KeystoreException in javapns
 

Methods in javapns that throw KeystoreException
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 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.
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 KeystoreException in javapns.communication
 

Methods in javapns.communication that throw KeystoreException
 SSLSocketFactory ConnectionToAppleServer.createSSLSocketFactory()
          Return a SSLSocketFactory for creating sockets to communicate with Apple.
protected  SSLSocketFactory ConnectionToAppleServer.createSSLSocketFactoryWithTrustManagers(TrustManager[] trustManagers)
          Generic SSLSocketFactory builder
 SSLSocket ConnectionToAppleServer.getSSLSocket()
          Create a SSLSocket which will be used to send data to Apple
 SSLSocketFactory ConnectionToAppleServer.getSSLSocketFactory()
           
static KeyStore KeystoreManager.loadKeystore(AppleServer server, Object keystore, boolean verifyKeystore)
          Loads a keystore.
static void KeystoreManager.verifyKeystoreContent(AppleServer server, Object keystore)
          Perform basic tests on a keystore to detect common user mistakes.
static void KeystoreManager.verifyKeystoreContent(KeyStore keystore)
          Perform basic tests on a keystore to detect common user mistakes (experimental).
 

Constructors in javapns.communication that throw KeystoreException
AppleServerBasicImpl(Object keystore, String password, String type)
          Constructs a AppleServerBasicImpl object.
ConnectionToAppleServer(AppleServer server)
          Builds a connection to an Apple server.
 

Uses of KeystoreException in javapns.communication.exceptions
 

Subclasses of KeystoreException in javapns.communication.exceptions
 class InvalidCertificateChainException
          Thrown when we try to contact Apple with an invalid keystore or certificate chain.
 class InvalidKeystoreFormatException
          Thrown when we try to contact Apple with an invalid keystore format.
 class InvalidKeystorePasswordException
          Thrown when we try to contact Apple with an invalid password for the keystore.
 class InvalidKeystoreReferenceException
          Thrown when we try to contact Apple with an invalid keystore format.
 

Uses of KeystoreException in javapns.feedback
 

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

Constructors in javapns.feedback that throw KeystoreException
AppleFeedbackServerBasicImpl(Object keystore, String password, boolean production)
          Communication settings for interacting with Apple's default production or sandbox feedback server.
AppleFeedbackServerBasicImpl(Object keystore, String password, String type, boolean production)
          Communication settings for interacting with Apple's default production or sandbox feedback server.
AppleFeedbackServerBasicImpl(Object keystore, String password, String type, String host, int port)
          Communication settings for interacting with a specific Apple Push Notification Feedback Server.
ConnectionToFeedbackServer(AppleFeedbackServer feedbackServer)
           
ConnectionToFeedbackServer(AppleNotificationServer server, KeyStore keystore)
           
 

Uses of KeystoreException in javapns.notification
 

Methods in javapns.notification that throw KeystoreException
 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
 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.
 

Constructors in javapns.notification that throw KeystoreException
AppleNotificationServerBasicImpl(Object keystore, String password, boolean production)
          Communication settings for interacting with Apple's default production or sandbox notification server.
AppleNotificationServerBasicImpl(Object keystore, String password, String type, boolean production)
          Communication settings for interacting with Apple's default production or sandbox notification server.
AppleNotificationServerBasicImpl(Object keystore, String password, String type, String host, int port)
          Communication settings for interacting with a specific Apple Push Notification Server.
ConnectionToNotificationServer(AppleNotificationServer server)
           
ConnectionToNotificationServer(AppleNotificationServer server, KeyStore keystore)
           
 



Copyright © 2016. All Rights Reserved.