|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EPPClientCon
Interface implmented by all client connection classes. The life cycle of the connection is defined by this interface, including initializing/opening the connection, getting input/ouput stream for interacting with the connection, and closing the connection.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void initialize()
throws EPPConException
EPPConException - On error
void 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 use
EPPConException - On error
void 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 use
EPPConException - On error
void close()
throws EPPConException
EPPConException - On error
java.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||