public class TdbWebSession extends TdbSession
Constructor and Description |
---|
TdbWebSession(java.lang.String server,
int port)
Constructor
|
TdbWebSession(java.lang.String server,
int port,
java.lang.String inifile,
int timeout)
Constructor, allows specification of optional server attributes
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getServerName()
The name of the server that the session is connected to.
|
authenticate, dateforms, enableLogging, enableNotification, enableNotification, fieldTypes, getActivityLog, getBackgroundTaskSink, getBuildNumber, getCharacterSet, getCharacterSetName, getControlCache, getCurrentDateform, getDateform, getDefaultQueueName, getFieldType, getFieldType, getNotificationSink, getPid, getRevisionNumber, getServerApiLog, getServerXpiLog, getSessionId, getSessionType, getSubsystemID, getSubsystemName, getUsername, getVersion, hasLogCheckpoint, isApiLogEnabled, isConnected, isFileManager, isLicensedFor, isLoggedIn, isSystemManager, isTicketsEnabled, isUserManager, isWorking, isXpiLogEnabled, licensedProducts, login, login, logout, logout, requestLoginTicket, revokeLoginTicket, setActivityLog, setBackgroundTaskSink, setLogCheckpoint, setNotificationSink, subsystemNames, supportsFeature, validate, writeActivityLog
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessages
cancel, getSession, isCancelable, setCancelable
public TdbWebSession(java.lang.String server, int port) throws TdbException
server
- The name or IP address of the server to connect toport
- The port number on which the web service is runningTdbException
public TdbWebSession(java.lang.String server, int port, java.lang.String inifile, int timeout) throws TdbException
server
- The name or IP address of the server to which to connectport
- The port number of which the web service is runninginifile
- Optional host initialization file to be run by TRIPnet when
the web service connects to a TRIP server (null if not set).timeout
- Optional read timeout to apply to TRIPnet connections constructed
by the web service on behalf of the calling user (0 if not set).TdbException
public java.lang.String getServerName()
getServerName
in class TdbSession