cz.active24.client.fred.eppclient.EppClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client Show documentation
Show all versions of fred-client Show documentation
A Java EPP client for FRED (Free Registry for ENUM and Domains)
package cz.active24.client.fred.eppclient;
import cz.active24.client.fred.exception.FredClientException;
import ietf.params.xml.ns.epp_1.EppType;
import ietf.params.xml.ns.epp_1.LoginType;
import ietf.params.xml.ns.epp_1.ResponseType;
import javax.xml.bind.JAXBElement;
/**
* Low level EPP client for FRED.
*/
public interface EppClient {
/**
* Method executes login command.
*
* @param newPw new password, use it for next login.
* @param clientTransactionId client transaction id.
* @return ResponseType
* @throws FredClientException when call failed.
*/
ResponseType login(String newPw, String clientTransactionId) throws FredClientException;
/**
* Method executes logout command and destroys socket connection.
*
* @param clientTransactionId client transaction id.
* @throws FredClientException when call failed.
* @return ResponseType
*/
ResponseType logout(String clientTransactionId) throws FredClientException;
/**
* Executes command.
*
* @param request wrapped in JAXBElement.
* @return ResponseType
* @throws FredClientException when server responses with error code.
*/
ResponseType execute(JAXBElement request) throws FredClientException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy