Creates a new JoltSessionAttributes object. A JoltSessionAttributes object defines the parameters for the JoltSessionNew function.
A JoltSessionAttributes object contains the following attributes:
APPADDRESS (string). Host name and port number of the Jolt Service Listener (JSL), separated by a colon (:)
IDLETIMEOUT (integer)
SENDTIMEOUT (integer)
RECVTIMEOUT (integer)
SESSIONTIMEOUT (integer). This attribute is read-only.
Jolt.bdh
JoltSessionAttributesNew(): number;
Handle to the new JoltSessionAttributes object.
var hSessionAttr: number; dcltrans transaction TInit begin JavaSetOption(JAVA_VERSION, JAVA_V11); JavaSetOption(JAVA_HOME, "c:/jdk1.1.7"); JavaSetOption(JAVA_CLASSPATH, "c:/jdk1.1.7"); JoltInit(); hSessionAttr := JoltSessionAttributesNew(); JoltSetString(hSessionAttr, APPADDRESS, "//lab:8000"); end TInit; transaction TShutdown begin JoltFreeObject(hSessionAttr); end TShutdown;
Java: bea.jolt.JoltSessionAttributes class