// Path: src/main/java/javapns/communication/AppleServer.java
// public interface AppleServer {
// 
//   /**
//    * Returns a stream to a keystore.
//    *
//    * @return an InputStream
//    */
//   InputStream getKeystoreStream() throws InvalidKeystoreReferenceException;
// 
//   /**
//    * Returns the keystore's password.
//    *
//    * @return a password matching the keystore
//    */
//   String getKeystorePassword();
// 
//   /**
//    * Returns the format used to produce the keystore (typically PKCS12).
//    *
//    * @return a valid keystore format identifier
//    */
//   String getKeystoreType();
// 
//   /**
//    * Get the proxy host address currently configured for this specific server.
//    * A proxy might still be configured at the library or JVM levels.
//    * Refer to {@link javapns.communication.ProxyManager} for more information.
//    *
//    * @return a proxy host, or null if none is configured
//    */
//   String getProxyHost();
// 
//   /**
//    * Get the proxy port currently configured for this specific server.
//    * A proxy might still be configured at the library or JVM levels.
//    * Refer to {@link javapns.communication.ProxyManager} for more information.
//    *
//    * @return a network port, or 0 if no proxy is configured
//    */
//   int getProxyPort();
// 
//   /**
//    * Configure a proxy to use for this specific server.
//    * Use {@link javapns.communication.ProxyManager} to configure a proxy for the entire library instead.
//    *
//    * @param proxyHost proxy host address
//    * @param proxyPort proxy host port
//    */
//   void setProxy(String proxyHost, int proxyPort);
// }


import javapns.communication.AppleServer;
package javapns.notification;


/**
 * Interface representing a connection to an Apple Notification Server
 *
 * @author Sylvain Pedneault
 */
public interface AppleNotificationServer extends AppleServer {
  String PRODUCTION_HOST = "gateway.push.apple.com";
  int PRODUCTION_PORT = 2195;

// Path: src/main/java/javapns/communication/AppleServer.java
// public interface AppleServer {
// 
//   /**
//    * Returns a stream to a keystore.
//    *
//    * @return an InputStream
//    */
//   InputStream getKeystoreStream() throws InvalidKeystoreReferenceException;
// 
//   /**
//    * Returns the keystore's password.
//    *
//    * @return a password matching the keystore
//    */
//   String getKeystorePassword();
// 
//   /**
//    * Returns the format used to produce the keystore (typically PKCS12).
//    *
//    * @return a valid keystore format identifier
//    */
//   String getKeystoreType();
// 
//   /**
//    * Get the proxy host address currently configured for this specific server.
//    * A proxy might still be configured at the library or JVM levels.
//    * Refer to {@link javapns.communication.ProxyManager} for more information.
//    *
//    * @return a proxy host, or null if none is configured
//    */
//   String getProxyHost();
// 
//   /**
//    * Get the proxy port currently configured for this specific server.
//    * A proxy might still be configured at the library or JVM levels.
//    * Refer to {@link javapns.communication.ProxyManager} for more information.
//    *
//    * @return a network port, or 0 if no proxy is configured
//    */
//   int getProxyPort();
// 
//   /**
//    * Configure a proxy to use for this specific server.
//    * Use {@link javapns.communication.ProxyManager} to configure a proxy for the entire library instead.
//    *
//    * @param proxyHost proxy host address
//    * @param proxyPort proxy host port
//    */
//   void setProxy(String proxyHost, int proxyPort);
// }


// Path: src/main/java/javapns/notification/AppleNotificationServer.java
import javapns.communication.AppleServer;

package javapns.notification;


/**
 * Interface representing a connection to an Apple Notification Server
 *
 * @author Sylvain Pedneault
 */
public interface AppleNotificationServer extends AppleServer {
  String PRODUCTION_HOST = "gateway.push.apple.com";
  int PRODUCTION_PORT = 2195;

  String DEVELOPMENT_HOST = "gateway.sandbox.push.apple.com";