|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.interfaces.EPPSession
com.verisign.epp.pool.EPPPooledGenericSession
public class EPPPooledGenericSession
Pooled generic EPPSession
. Timestamp attributes were added
to handle absolute session timeout and ensure that idle timeouts don't
occur.
Field Summary |
---|
Fields inherited from class com.verisign.epp.interfaces.EPPSession |
---|
MODE_ASYNC, MODE_SYNC, msgID, myClientID, myCodec, myConnection, myExtensionServices, myInputStream, myLanguage, myNewPassword, myOutputStream, myPassword, myPollOp, myResponse, myServices, myTransId, myVersion, myXMLStream, OP_ACK, OP_REQ |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.verisign.epp.interfaces.EPPSession |
---|
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, sendPacket, sendPoll, setClientID, setExtensions, setInputStream, setLang, setLang, setMode, setMsgID, setNewPassword, setOutputStream, setPassword, setPollOp, setServices, setStatusCommandType, setStatusTransId, setTransId, setVersion, validateClientTransId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 number
EPPCommandException
- 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 from
EPPCommandException
- 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 use
EPPCommandException
- 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 use
EPPCommandException
- Error connecting to serverMethod Detail |
---|
public long getCreatedTime()
getCreatedTime
in interface EPPPooledSession
public long getLastTouched()
getLastTouched
in interface EPPPooledSession
public void touch()
touch
in interface EPPPooledSession
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |