public class TdbPooledSession extends TdbSession
| Modifier and Type | Method and Description |
|---|---|
void |
login(java.lang.String username,
java.lang.String password)
Invalid operation for a pooled session
|
void |
login(java.lang.String username,
java.lang.String password,
TdbLanguage language,
boolean restart)
Invalid operation for a pooled session
|
void |
logout()
Returns the session to the pool for reuse
|
void |
logout(boolean save)
Returns the session to the pool for reuse
|
authenticate, dateforms, enableLogging, enableNotification, enableNotification, fieldTypes, getActivityLog, getApiKeyMode, getBackgroundTaskSink, getBuildNumber, getCharacterSet, getCharacterSetName, getControlCache, getCurrentDateform, getDateform, getDefaultQueueName, getDefinedViews, getFieldType, getFieldType, getJobResultSink, getNotificationSink, getPid, getRevisionNumber, getServerApiLog, getServerName, getServerXpiLog, getSessionId, getSessionType, getSubsystemID, getSubsystemName, getUsername, getVersion, hasLogCheckpoint, isApiLogEnabled, isConnected, isFileManager, isLicensedFor, isLoggedIn, isSystemManager, isTicketsEnabled, isTokensEnabled, isUserManager, isWorking, isXpiLogEnabled, licensedProducts, pollJobResults, refreshAccessToken, requestAccessToken, requestLoginTicket, revokeLoginTicket, revokeToken, revokeTokens, setActivityLog, setBackgroundTaskSink, setJobResultSink, setLogCheckpoint, setNotificationSink, subsystemNames, supportsFeature, validate, writeActivityLogcodeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessagescancel, getSession, isCancelable, setCancelablepublic void login(java.lang.String username,
java.lang.String password)
throws TdbException
login in class TdbSessionusername - The TRIP username to usepassword - The TRIP password to useTdbExceptionTo log in with an access token, pass the access token string as the
password. If token based login requires an API key, pass the API key
string as the username. Otherwise, pass an empty string as the username.
An API key is required if the getApiKeyMode() method returns
TdbApiKeyMode.Always.
To log in with a login ticket, pass an empty string as the username
and the ticket as the password. Note that login tickets have been superseded
by access token as per version 8.3-2 of TRIPjxp.
This method causes network I/O.
public void login(java.lang.String username,
java.lang.String password,
TdbLanguage language,
boolean restart)
throws TdbException
login in class TdbSessionusername - 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 sessionTdbExceptionTo log in with an access token, pass the access token string as the
password. If token based login requires an API key, pass the API key
string as the username. Otherwise, pass an empty string as the username.
An API key is required if the getApiKeyMode() method returns
TdbApiKeyMode.Always.
To log in with a login ticket, pass an empty string as the username
and the ticket as the password. Note that login tickets have been superseded
by access tokens as per version 8.3-2 of TRIPjxp!
This method causes network I/O.
public void logout()
throws TdbException
logout in class TdbSessionTdbExceptionpublic void logout(boolean save)
throws TdbException
logout in class TdbSessionsave - This parameter is ignored for pooled sessionsTdbException