public class EPPPooledGenericSession extends EPPSession implements EPPPooledSession
EPPSession
. Timestamp attributes were added
to handle absolute session timeout and ensure that idle timeouts don't
occur.MODE_ASYNC, MODE_SYNC, msgID, myClientID, myCodec, myConnection, myExtensionServices, myInputStream, myLanguage, myMessage, myNewPassword, myOutputStream, myPassword, myPollOp, myResponse, myServices, myTransId, myVersion, myXMLStream, OP_ACK, OP_REQ
Constructor and Description |
---|
EPPPooledGenericSession()
Default constructor for
EPPPooledGenericSession . |
EPPPooledGenericSession(java.lang.String aHostName,
int aPortNumber)
Constructor that takes an explicit host name and port number
to connect to.
|
EPPPooledGenericSession(java.lang.String aHostName,
int aPortNumber,
EPPSSLContext aSSLContext)
Constructor that takes an explicit host name and port number
to connect to.
|
EPPPooledGenericSession(java.lang.String aHostName,
int aPortNumber,
java.lang.String aClientHost)
Constructor that takes an explicit server host name, server port number,
and client host name to connect to.
|
EPPPooledGenericSession(java.lang.String aHostName,
int aPortNumber,
java.lang.String aClientHost,
EPPSSLContext aSSLContext)
Constructor that takes an explicit server host name, server port number,
and client host name to connect to.
|
Modifier and Type | Method and Description |
---|---|
long |
getCreatedTime()
Gets the time the pooled object was created.
|
long |
getLastTouched()
Gets the last time the pooled object was touched.
|
void |
touch()
Sets the last touched to the current time.
|
endConnection, endSession, getClientCon, getClientID, getConnection, getInputStream, getMode, getMsgID, getnewPassword, getOutputStream, getPassword, getPollOp, getResponse, getStatusCommandType, getStatusTransId, getTransId, getVersion, hello, init, init, init, initSession, initStreams, isModeSupported, login, logout, processDocument, processDocument, readResponse, recDocument, sendDocument, sendMessage, sendPacket, sendPoll, setClientID, setExtensions, setInputStream, setLang, setLang, setMode, setMsgID, setNewPassword, setOutputStream, setPassword, setPollOp, setServices, setStatusCommandType, setStatusTransId, setTransId, setVersion, validateClientTransId
public EPPPooledGenericSession() throws EPPCommandException
EPPPooledGenericSession
.EPPCommandException
- On errorpublic EPPPooledGenericSession(java.lang.String aHostName, int aPortNumber) throws EPPCommandException
aHostName
- Host name or IP address of serveraPortNumber
- Server port numberEPPCommandException
- Error connecting to serverpublic EPPPooledGenericSession(java.lang.String aHostName, int aPortNumber, java.lang.String aClientHost) throws EPPCommandException
aHostName
- Host name or IP address of host to connect toaPortNumber
- Port number to connect toaClientHost
- Host name or IP address to connect fromEPPCommandException
- Error connecting to serverpublic EPPPooledGenericSession(java.lang.String aHostName, int aPortNumber, EPPSSLContext aSSLContext) throws EPPCommandException
aHostName
- Host name or IP address of serveraPortNumber
- Server port numberaSSLContext
- Optional specific SSL context to useEPPCommandException
- Error connecting to serverpublic EPPPooledGenericSession(java.lang.String aHostName, int aPortNumber, java.lang.String aClientHost, EPPSSLContext aSSLContext) throws EPPCommandException
aHostName
- Host name or IP address of host to connect toaPortNumber
- Port number to connect toaClientHost
- Host name or IP address to connect fromaSSLContext
- Optional specific SSL context to useEPPCommandException
- Error connecting to serverpublic long getCreatedTime()
getCreatedTime
in interface EPPPooledSession
public long getLastTouched()
getLastTouched
in interface EPPPooledSession
public void touch()
touch
in interface EPPPooledSession
Copyright © VeriSign Inc. All Rights Reserved.