All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javapns.feedback.ConnectionToFeedbackServer Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package javapns.feedback;

import java.security.*;

import javapns.communication.*;
import javapns.communication.exceptions.*;
import javapns.notification.*;

/**
 * Class representing a connection to a specific Feedback Server.
 * 
 * @author Sylvain Pedneault
 */
public class ConnectionToFeedbackServer extends ConnectionToAppleServer {

	public ConnectionToFeedbackServer(AppleFeedbackServer feedbackServer) throws KeystoreException {
		super(feedbackServer);
	}


	public ConnectionToFeedbackServer(AppleNotificationServer server, KeyStore keystore) throws KeystoreException {
		super(server, keystore);
	}


	@Override
	public String getServerHost() {
		return ((AppleFeedbackServer) getServer()).getFeedbackServerHost();
	}


	@Override
	public int getServerPort() {
		return ((AppleFeedbackServer) getServer()).getFeedbackServerPort();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy