HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_LU62_TIMEOUT
Chapter 3298
DEFINE_LU62_TIMEOUT
The DEFINE_LU62_TIMEOUT verb defines a timeout period for
unused LU 6.2 sessions. Each timeout is for a specified resource type and
resource name. If a DEFINE_* verb is issued for a resource type and
name pair already defined, the command overwrites the previous
definitions. New timeout periods are only used for sessions activated
after the definition is changed.
If more than one relevant timeout period is defined for a session, the
shortest period applies.
VCB Structure
typedef struct define_lu62_timeout
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char resource_type; /* resource type */
unsigned char resource_name[17]; /* resource name */
AP_UINT16 timeout; /* timeout */
} DEFINE_LU62_TIMEOUT;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_LU62_TIMEOUT
resource_type
Specifies the type of timeout to be defined. Possible
values are:
AP_GLOBAL_TIMEOUT
Timeout applies to all LU 6.2 sessions
for the local node. The
resource_name
parameter should be
set to all zeros.
AP_LOCAL_LU_TIMEOUT