public interface EPPClientCon
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the client connection.
|
java.io.InputStream |
getInputStream()
Gets the input stream associated with the active connection.
|
java.io.OutputStream |
getOutputStream()
Gets the output stream associated with the active connection.
|
void |
initialize()
Initializes the client connection.
|
void |
initialize(java.lang.String aHostName,
int aPortNumber,
EPPSSLContext aSSLContext)
Initializes the client connection with a specific host and port.
|
void |
initialize(java.lang.String aHostName,
int aPortNumber,
java.lang.String aClientHostName,
EPPSSLContext aSSLContext)
Initializes the client connection with a specific host and port.
|
void initialize() throws EPPConException
EPPConException
- On errorvoid initialize(java.lang.String aHostName, int aPortNumber, EPPSSLContext aSSLContext) throws EPPConException
aHostName
- Host name or IP address of host to connect toaPortNumber
- Port number to connect toaSSLContext
- Optional specific SSL context to useEPPConException
- On errorvoid initialize(java.lang.String aHostName, int aPortNumber, java.lang.String aClientHostName, EPPSSLContext aSSLContext) throws EPPConException
aHostName
- Host name or IP address of host to connect toaPortNumber
- Port number to connect toaClientHostName
- Host name or IP address to connect fromaSSLContext
- Optional specific SSL context to useEPPConException
- On errorvoid close() throws EPPConException
EPPConException
- On errorjava.io.OutputStream getOutputStream() throws EPPConException
EPPConException
- Output stream is null
, meaning
that the connection is not active.java.io.InputStream getInputStream() throws EPPConException
EPPConException
- Input stream is null
, meaning
that the connection is not active.