Package com.tietoenator.trip.jxp.session
Class TdbWebSession
- java.lang.Object
-
- com.tietoenator.trip.jxp.session.TdbSessionObject
-
- com.tietoenator.trip.jxp.TdbMessageProvider
-
- com.tietoenator.trip.jxp.session.TdbSession
-
- com.tietoenator.trip.jxp.session.TdbWebSession
-
- All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink
public class TdbWebSession extends TdbSession
Constructs and provides access to a session via XML/HTTP to the TRIP web service.
-
-
Constructor Summary
Constructors Constructor Description TdbWebSession(java.lang.String server, int port)
ConstructorTdbWebSession(java.lang.String server, int port, java.lang.String inifile, int timeout)
Constructor, allows specification of optional server attributes
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getServerName()
The name of the server that the session is connected to.-
Methods inherited from class com.tietoenator.trip.jxp.session.TdbSession
authenticate, dateforms, enableNotification, enableNotification, fieldTypes, getActivityLog, getBackgroundTaskSink, getBuildNumber, getCharacterSet, getCharacterSetName, getCurrentDateform, getDateform, getDefaultQueueName, getFieldType, getFieldType, getNotificationSink, getPid, getRevisionNumber, getSessionId, getSessionType, getSubsystemID, getSubsystemName, getUsername, getVersion, isConnected, isFileManager, isLicensedFor, isLoggedIn, isSystemManager, isTicketsEnabled, isUserManager, isWorking, licensedProducts, login, login, logout, logout, requestLoginTicket, revokeLoginTicket, setActivityLog, setBackgroundTaskSink, 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
-
-
-
-
Constructor Detail
-
TdbWebSession
public TdbWebSession(java.lang.String server, int port) throws TdbException
Constructor- Parameters:
server
- The name or IP address of the server to connect toport
- The port number on which the web service is running- Throws:
TdbException
-
TdbWebSession
public TdbWebSession(java.lang.String server, int port, java.lang.String inifile, int timeout) throws TdbException
Constructor, allows specification of optional server attributes- Parameters:
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).- Throws:
TdbException
-
-
Method Detail
-
getServerName
public java.lang.String getServerName()
The name of the server that the session is connected to. Since this session type connects to a web service running on the same machine as the TRIP server, the name or IP address returned by this method identifies both the web service host and the TRIP host.- Overrides:
getServerName
in classTdbSession
-
-