Joltsession class – HP NonStop G-Series User Manual
Page 105
IDLETIMEOUT
Defines an integer representing the timeout interval in seconds. Set
the IDLETIMEOUT to an interval of time that is less than the
SESSIONTIMEOUT value.
IDLETIMEOUT is used to hint to the system when to drop the
network connection while retaining the session. When the
IDLETIMEOUT is set to 0, the system is notified that the network
connection is always retained. This ensures that when the system
times out, the network connection to the target system is terminated,
and the session is terminated. The system administrator may override
this parameter.
Use setIntDef() to set the value of this attribute.
RECVTIMEOUT
Defines the number of seconds to wait after Jolt issues the TCP/IP
recv() before timing out. The default is 120 seconds. Use setInt() to
set the value of this attribute.
SENDTIMEOUT
Defines the number of seconds to wait after Jolt issues the TCP/IP
send() before timing out. The default is 10 seconds.
SESSIONTIMEOUT SESSIONTIMEOUT is the only attribute used for the get...methods.
This attribute is the integer value in minutes of the
SESSIONTIMEOUT that is configured in the Jolt server. When a
session has been idle for the specified time, the server terminates the
session. See the -T option in JSL. Use setString() to set the value of
this attribute.
For more information about the JSL -T timeout refer to
JoltSession Class
java.lang.Object
|
+----bea.jolt.Session
|
+----bea.jolt.JoltSession
The JoltSession class represents the logon session object and is used to access available TUXEDO services. The
GUI-based Jolt Repository handles the propagation of TUXEDO services to Jolt client applications. (For more
information about the Jolt Repository, see
Section 5, Using the Jolt Repository Editor
) The programmer must instantiate
an object for each logon session. The JoltSession object communicates data from, and connects to the TUXEDO System.
The session ends with a call using the endSession() method.
The JoltSession object is passed, by reference, to the JoltRemoteService and JoltTransaction objects. All Jolt transactions
must pass a JoltSession to access the TUXEDO application.
public class JoltSession
{
// JoltSession Constructor
public JoltSession( JoltSessionAttributes attr, String userName,
String userRole, String userPassword, String appPassword )
throws SessionException;
// JoltSession Method
public void endSession( )throws SessionException;
public final isAlive( );