Package com.tietoenator.trip.jxp.pool
Class TdbPooledSession
java.lang.Object
com.tietoenator.trip.jxp.session.TdbSessionObject
com.tietoenator.trip.jxp.TdbMessageProvider
com.tietoenator.trip.jxp.session.TdbSession
com.tietoenator.trip.jxp.pool.TdbPooledSession
- All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink
- Direct Known Subclasses:
TdbTripNetPooledSession
,TdbWebPooledSession
Contains a session within a session pool
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invalid operation for a pooled sessionvoid
login
(String username, String password, TdbLanguage language, boolean restart) Invalid operation for a pooled sessionvoid
logout()
Returns the session to the pool for reusevoid
logout
(boolean save) Returns the session to the pool for reuseMethods inherited from class com.tietoenator.trip.jxp.session.TdbSession
authenticate, dateforms, enableLogging, enableNotification, enableNotification, fieldTypes, getActivityLog, getBackgroundTaskSink, getBuildNumber, getCharacterSet, getCharacterSetName, getControlCache, getCurrentDateform, getDateform, getDefaultQueueName, getFieldType, getFieldType, getNotificationSink, getPid, getRevisionNumber, getServerApiLog, getServerName, getServerXpiLog, getSessionId, getSessionType, getSubsystemID, getSubsystemName, getUsername, getVersion, hasLogCheckpoint, isApiLogEnabled, isConnected, isFileManager, isLicensedFor, isLoggedIn, isSystemManager, isTicketsEnabled, isUserManager, isWorking, isXpiLogEnabled, licensedProducts, requestLoginTicket, revokeLoginTicket, setActivityLog, setBackgroundTaskSink, setLogCheckpoint, setNotificationSink, subsystemNames, supportsFeature, validate, writeActivityLog
Methods inherited from class com.tietoenator.trip.jxp.TdbMessageProvider
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessages
Methods inherited from class com.tietoenator.trip.jxp.session.TdbSessionObject
cancel, getSession, isCancelable, setCancelable
-
Method Details
-
login
Invalid operation for a pooled session- Overrides:
login
in classTdbSession
- Parameters:
username
- The TRIP username to usepassword
- The TRIP password to use- Throws:
TdbException
-
login
public void login(String username, String password, TdbLanguage language, boolean restart) throws TdbException Invalid operation for a pooled session- Overrides:
login
in classTdbSession
- Parameters:
username
- The TRIP username to usepassword
- The TRIP password to use (this gets encrypted for transmission)language
- The CCL language dialect to userestart
- If set high, signal TRIP to attempt to restart from a previous session- Throws:
TdbException
-
logout
Returns the session to the pool for reuse- Overrides:
logout
in classTdbSession
- Throws:
TdbException
-
logout
Returns the session to the pool for reuse- Overrides:
logout
in classTdbSession
- Parameters:
save
- This parameter is ignored for pooled sessions- Throws:
TdbException
-