HP-UX SNAplus2 R7 LUA Programmer's Guide

SLI Verbs
SLI_OPEN
LUA_SESSION_TYPE_DEDICATED
Send a positive response, and suspend the SLI session until BIND, optional CRV and STSN, and SDT
commands are received. NOTIFY(disabled) is not sent to the SSCP. In this case the application can end
the suspended session, without waiting for a new BIND from the host, by issuing SLI_CLOSE (abend).
lua_wait
Timeout (in seconds) for retrying a secondary-initiated session initiation. This parameter is ignored if
lua_init_type is LUA_INIT_TYPE_PRIM or LUA_INIT_TYPE_PRIM_SSCP.
LUA retries the session initiation after this timeout (by resending the applications INITSELF or LOGON
message) if the host responds to the initial attempt with one of the following messages.
A negative response to the INITSELF or LOGON with a secondary return code of
RE-
SOURCE_NOT_AVAILABLE
, SESSION_LIMIT_EXCEEDED,
SSCP_LU_SESS_NOT_ACTIVE,or
SES-
SION_SERVICE_PATH_ERROR
.
A Network Services Procedure Error (NSPE) message.
A NOTIFY command, which indicates a procedure error.
If this parameter is set to zero, LUA does not retry the session initiation.
lua_open_extension
Information about the applications SLI_OPEN extension routines, if any. This parameter is an array of
structures, each of which holds information about a specic extension routine.
The application can specify 03 extension routines, each of which identies the applications routine for
handling a specic SNA message during session initialization (as indicated by the lua_routine_type parameter).
These must be specied in consecutive elements in the array, starting with the rst; the supplied entries must
end with one in which lua_open_extension.lua_routine_type is set to LUA_ROUTINE_TYPE_END, indicating
the end of the list.
lua_open_extension.lua_routine_type
Type of extension routine. Possible values are:
LUA_ROUTINE_TYPE_BIND
Routine for checking and responding to a BIND message from the host.
LUA_ROUTINE_TYPE_SDT
Routine for checking and responding to an SDT message from the host.
LUA_ROUTINE_TYPE_STSN
Routine for checking and responding to an STSN message from the host.
LUA_ROUTINE_TYPE_END
This value indicates the end of the list of extension routines. It must be used in the array element
immediately following the other routines (or in the rst array element if the application is not
specifying any extension routines).
UNIX
lua_open_extension.lua_routine_ptr
Pointer to the extension routine entry point. This parameter is not used in the last array entry, in which
lua_open_extension.lua_routine_type is set to LUA_ROUTINE_TYPE_END.
LUA calls this entry point with the SLI_BIND_ROUTINE, SLI_SDT_ROUTINE, or
SLI_STSN_ROUTINE verb, according to the value of the lua_routine_type parameter.
WINDOWS
119