|
EPP 0.2.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.neulevel.epp.transport.EppSession
com.neulevel.epp.transport.tcp.EppSessionTcp
This EppSessionTcp is designed to handle a channel connection
to the EPP server via TCP/TLS.
| Field Summary |
| Fields inherited from class com.neulevel.epp.transport.EppSession |
CLIENT_AUTH, KM_ALGORITHM, KM_PROVIDER, KS_FORMAT, KS_KEYPASS, KS_NAME, KS_PROVIDER, KS_STOREPASS, KS_TYPE, PK_CIPHER_SUITE, PK_PRIVATE_KEY, PK_PRIVATE_PASS, PK_PRIVATE_TYPE, PK_PUBLIC_KEY, PK_TRUSTED_CERTS, TM_ALGORITHM, TM_PROVIDER, TS_FORMAT, TS_NAME, TS_PROVIDER, TS_STOREPASS, TS_TYPE |
| Constructor Summary | |
EppSessionTcp()
Creates an EppSessionTcp object, which will use
TLS as the transport layer security protocol. |
|
EppSessionTcp(boolean useTLS)
Creates an EppSessionTcp object, given a flag
indicating if TLS should be used as the transport
layer security protocol. |
|
| Method Summary | |
void |
close()
Closes the EPP Session over TCP/TLS |
EppGreeting |
connect(java.lang.String host,
int port)
Connects to the EPP Server and establishs an EPP session over TCP/TLS |
EppChannel |
getChannel()
Allocates an EPP Channel over TCP/TLS |
java.net.Socket |
getSocket()
Gets the socket associated with the EPP Session |
EppGreeting |
hello()
Sends an EPP Hello message to the EPP Server and returns back with an EppGreeting object |
void |
init(java.lang.Object object)
Initializes the run-time parameters related to an EPP Session. |
| Methods inherited from class com.neulevel.epp.transport.EppSession |
getException, getMessage, setException, setMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EppSessionTcp()
EppSessionTcp object, which will use
TLS as the transport layer security protocol.
public EppSessionTcp(boolean useTLS)
EppSessionTcp object, given a flag
indicating if TLS should be used as the transport
layer security protocol.
| Method Detail |
public void init(java.lang.Object object)
Properties
object if the implementation choose to use Java Property
file, or an Element object, if the configuration
file is in XML format, or an String that represents
the name of the configuration file in any format.
init in class EppSessionobject - - the configuration object for setting up run-time
parameters related to the EPP Session
public EppGreeting connect(java.lang.String host,
int port)
connect in class EppSessionhost - the host name of the EPP Server to be connectedport - the port number of the EPP Server to be connected
EppGreeting object returned by the EPP
server if the connection is successfully established,
or null if there is any errorpublic void close()
close in class EppSessionpublic EppChannel getChannel()
getChannel in class EppSessionEppChannel object, or null if the EPP
Channel cannot be allocatedpublic EppGreeting hello()
EppGreeting object
hello in class EppSessionEppGreeting returned by the EPP Server,
or null if there is any errorpublic java.net.Socket getSocket()
|
EPP 0.2.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||