javapns.feedback
Class ConnectionToFeedbackServer

java.lang.Object
  extended by javapns.communication.ConnectionToAppleServer
      extended by javapns.feedback.ConnectionToFeedbackServer

public class ConnectionToFeedbackServer
extends ConnectionToAppleServer

Class representing a connection to a specific Feedback Server.

Author:
Sylvain Pedneault

Field Summary
 
Fields inherited from class javapns.communication.ConnectionToAppleServer
KEYSTORE_TYPE_JKS, KEYSTORE_TYPE_PKCS12
 
Constructor Summary
ConnectionToFeedbackServer(AppleFeedbackServer feedbackServer)
           
ConnectionToFeedbackServer(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

ConnectionToFeedbackServer

public ConnectionToFeedbackServer(AppleFeedbackServer feedbackServer)
                           throws KeystoreException
Throws:
KeystoreException

ConnectionToFeedbackServer

public ConnectionToFeedbackServer(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