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.clientId, codec, connection, extensionServices, inputStream, language, message, MODE_ASYNC, MODE_SYNC, msgID, newPassword, OP_ACK, OP_REQ, outputStream, password, pollOp, response, responsePacket, services, transId, version, xmlStream| 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, initLoginAdapter, 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, validateClientTransIdpublic 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 EPPPooledSessionpublic long getLastTouched()
getLastTouched in interface EPPPooledSessionpublic void touch()
touch in interface EPPPooledSession