public class AppleNotificationServerBasicImpl extends AppleServerBasicImpl implements AppleNotificationServer
DEVELOPMENT_HOST, DEVELOPMENT_PORT, PRODUCTION_HOST, PRODUCTION_PORT| Constructor and Description |
|---|
AppleNotificationServerBasicImpl(Object keystore,
String password,
boolean production)
Communication settings for interacting with Apple's default production or sandbox notification server.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNotificationServerHost() |
int |
getNotificationServerPort() |
getKeystorePassword, getKeystoreStream, getKeystoreType, getProxyHost, getProxyPort, setProxyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeystorePassword, getKeystoreStream, getKeystoreType, getProxyHost, getProxyPort, setProxypublic AppleNotificationServerBasicImpl(Object keystore, String password, boolean production) throws KeystoreException
keystore - a keystore containing your private key and the certificate signed by Apple (File, InputStream, byte[], KeyStore or String for a file path)password - the keystore's passwordproduction - true to use Apple's production servers, false to use the sandboxKeystoreException - thrown if an error occurs when loading the keystorepublic String getNotificationServerHost()
getNotificationServerHost in interface AppleNotificationServerpublic int getNotificationServerPort()
getNotificationServerPort in interface AppleNotificationServerCopyright © 2016. All rights reserved.