|
EPP 0.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neulevel.epp.transport.EppSession
This EppSession
class is designed to handle a session
connected to the EPP Server.
Field Summary | |
static java.lang.String |
CLIENT_AUTH
The property for enabling client side authentication, default true |
static java.lang.String |
KM_ALGORITHM
The property for key manager algorithm, default "SUNX509" |
static java.lang.String |
KM_PROVIDER
The property for key manager provider, default null |
static java.lang.String |
KS_FORMAT
The property for key store format, default "file" |
static java.lang.String |
KS_KEYPASS
The property for key password for recovering keys, default as the value of the key store password |
static java.lang.String |
KS_NAME
The property for key store name. |
static java.lang.String |
KS_PROVIDER
The property for key store provider, default null |
static java.lang.String |
KS_STOREPASS
The property for key store password, default null |
static java.lang.String |
KS_TYPE
The property for key store type, default "JKS" |
static java.lang.String |
PK_CIPHER_SUITE
The property for cipher suite, default null |
static java.lang.String |
PK_PRIVATE_KEY
The property for file name storing private key (PEM format) |
static java.lang.String |
PK_PRIVATE_PASS
The property for the passphrease of the file storing private key, default "" |
static java.lang.String |
PK_PRIVATE_TYPE
The property for the private key algorithm, default "RSA" |
static java.lang.String |
PK_PUBLIC_KEY
The property for file name storing public key (PEM format) |
static java.lang.String |
PK_TRUSTED_CERTS
The property for file name storing trusted certificates (PEM format) |
static java.lang.String |
TM_ALGORITHM
The property for trust manager algorithm, default "SUNX509" |
static java.lang.String |
TM_PROVIDER
The property for trust manager provider, default null |
static java.lang.String |
TS_FORMAT
The property for trust store format, default "file" |
static java.lang.String |
TS_NAME
The property for trust store name. |
static java.lang.String |
TS_PROVIDER
The property for trust store provider, default null |
static java.lang.String |
TS_STOREPASS
The property for trust store password, default null |
static java.lang.String |
TS_TYPE
The property for trust store type, default "JKS" |
Constructor Summary | |
EppSession()
|
Method Summary | |
abstract void |
close()
Closes the EPP Session |
abstract EppGreeting |
connect(java.lang.String host,
int port)
Connects to the EPP Server and establishs an EPP Session |
abstract EppChannel |
getChannel()
Allocates an EPP Channel |
java.lang.Exception |
getException()
Gets the last exception received for the EPP Session |
java.lang.String |
getMessage()
Gets the last message received for the EPP Session |
abstract EppGreeting |
hello()
Sends an EPP Hello message to the EPP Server and returns back with an EppGreeting object |
abstract void |
init(java.lang.Object object)
Initializes the run-time parameters related to an EPP Session. |
void |
setException(java.lang.Exception e)
Sets the current exception received for the EPP Session |
void |
setMessage(java.lang.String message)
Sets the current message received for the EPP Session |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String CLIENT_AUTH
public static final java.lang.String KM_ALGORITHM
public static final java.lang.String KM_PROVIDER
public static final java.lang.String KS_TYPE
public static final java.lang.String KS_PROVIDER
public static final java.lang.String KS_FORMAT
public static final java.lang.String KS_NAME
public static final java.lang.String KS_STOREPASS
public static final java.lang.String KS_KEYPASS
public static final java.lang.String TM_ALGORITHM
public static final java.lang.String TM_PROVIDER
public static final java.lang.String TS_TYPE
public static final java.lang.String TS_PROVIDER
public static final java.lang.String TS_FORMAT
public static final java.lang.String TS_NAME
public static final java.lang.String TS_STOREPASS
public static final java.lang.String PK_CIPHER_SUITE
public static final java.lang.String PK_PUBLIC_KEY
public static final java.lang.String PK_PRIVATE_KEY
public static final java.lang.String PK_PRIVATE_PASS
public static final java.lang.String PK_PRIVATE_TYPE
public static final java.lang.String PK_TRUSTED_CERTS
Constructor Detail |
public EppSession()
Method Detail |
public abstract 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.object
- the configuration object for setting up run-time
parameters related to the EPP Sessionpublic java.lang.Exception getException()
public void setException(java.lang.Exception e)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public abstract EppGreeting connect(java.lang.String host, int port)
host
- the host name of the EPP server to be connectedport
- the port number of the EPP server to be connectedEppGreeting
object returned by the EPP
server if the connection is successfully established,
or null if there is any errorpublic abstract void close()
public abstract EppChannel getChannel()
EppChannel
object, or null if the EPP
Channel cannot be allocatedpublic abstract EppGreeting hello()
EppGreeting
objectEppGreeting
returned by the EPP Server,
or null if there is any error
|
EPP 0.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |