javapns/src/main/java/javapns/notification/PushNotificationManager.java
/**
	 * Initialize the connection and create a SSLSocket
	 * @param server The Apple Server to connect to.
	 * @throws Exception
	 */
Initialize the connection and create a SSLSocket
@param server The Apple Server to connect to.
@throws Exception
Initialize the connection and create a SSLSocket @param server The Apple Server to connect to . @throws Exception
public void initializeConnection(AppleNotificationServer server) throws Exception {
		this.connectionToAppleServer = new ConnectionToNotificationServer(server);
		this.socket = connectionToAppleServer.getSSLSocket();
		logger.debug("Initialized Connection to Host: [" + server.getNotificationServerHost() + "] Port: [" + server.getNotificationServerPort() + "]: " + socket);
	}
public void initializeConnection ( AppleNotificationServer server ) throws Exception { this . connectionToAppleServer = new ConnectionToNotificationServer ( server ) ; this . socket = connectionToAppleServer . getSSLSocket ( ) ; logger . debug ( "Initialized Connection to Host: [" + server . getNotificationServerHost ( ) + "] Port: [" + server . getNotificationServerPort ( ) + "]: " + socket ) ; }
Initialize the connection and create a SSLSocket
 @param server The Apple Server to connect to.
Initialize the connection and create a SSLSocket @param server The Apple Server to connect to .