javapns.notification
Class ConnectionToNotificationServer

java.lang.Object
  extended by javapns.communication.ConnectionToAppleServer
      extended by javapns.notification.ConnectionToNotificationServer

public class ConnectionToNotificationServer
extends ConnectionToAppleServer

Connection details specific to the Notification Service.

Author:
Sylvain Pedneault

Field Summary
 
Fields inherited from class javapns.communication.ConnectionToAppleServer
KEYSTORE_TYPE_JKS, KEYSTORE_TYPE_PKCS12
 
Constructor Summary
ConnectionToNotificationServer(AppleNotificationServer server)
           
ConnectionToNotificationServer(AppleNotificationServer server, KeyStore keystore)
           
 
Method Summary
 String getServerHost()
           
 int getServerPort()
           
 
Methods inherited from class javapns.communication.ConnectionToAppleServer
createSSLSocketFactory, getKeystore, getKeystoreType, getServer, getSSLSocket, getSSLSocketFactory, setKeystore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionToNotificationServer

public ConnectionToNotificationServer(AppleNotificationServer server)
                               throws KeystoreException
Throws:
KeystoreException

ConnectionToNotificationServer

public ConnectionToNotificationServer(AppleNotificationServer server,
                                      KeyStore keystore)
                               throws KeystoreException
Throws:
KeystoreException
Method Detail

getServerHost

public String getServerHost()
Specified by:
getServerHost in class ConnectionToAppleServer

getServerPort

public int getServerPort()
Specified by:
getServerPort in class ConnectionToAppleServer