HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_BID
LUA_NOT_READY
The SLI session has been temporarily suspended for one of the following reasons:
• A CLEAR command was received. The session resumes when an SDT command is received.
• An UNBIND command type X’02’ (BIND forthcoming) was received. The session is suspended
until a BIND, optional CRV and STSN, and SDT commands are received; it resumes after the SDT.
Any user extension routines that were supplied by the original SLI_OPEN verb will be called again.
• An UNBIND command type X’01’ (normal) was received, and the SLI_OPEN verb for this session
specified
lua_session_type LUA_SESSION_TYPE_DEDICATED. The session is suspended until a
BIND, optional CRV and STSN, and SDT commands are received; it resumes after the SDT. Any
user extension routines that were supplied by the original SLI_OPEN verb will be called again.
The application should issue another SLI_BID or SLI_RECEIVE to receive the
READY
status when the
session resumes. It can continue to issue SLI_SEND and SLI_RECEIVE verbs for SSCP normal-flow
data even though the session status is
LUA_NOT_READY.
LUA_INIT_COMPLETE
The application issued SLI_OPEN with type LUA_OPEN_TYPE_PRIM_SSCP, and the underlying
RUI_INIT verb has now completed. The application can now issue SLI_SEND and SLI_RECEIVE
verbs for SSCP normal-flow data.
LUA_SESSION_END_REQUESTED
The host has sent a SHUTD command, requesting the application to shut down the session. The
application should issue SLI_CLOSE as soon as it is ready to close the session.
lua_sid
If the application specified the lua_luname parameter when issuing this verb, rather than specifying the session
ID, LUA supplies the session ID.
Unsuccessful Execution
If a verb does not complete successfully, LUA returns a primary return code to indicate the type of error and a
secondary return code to provide specific details about the reason for unsuccessful execution.
Verb Canceled
The following return codes indicate that the verb did not complete successfully because it was canceled by another
verb:
lua_prim_rc
LUA_CANCELLED
lua_sec_rc
LUA_TERMINATED
An SLI_CLOSE verb was issued while this verb was pending.
Parameter Check
The following return codes indicate that the verb did not complete successfully because a supplied parameter was
in error:
lua_prim_rc
LUA_PARAMETER_CHECK
lua_sec_rc
Possible values are:
LUA_BAD_SESSION_ID
The lua_sid parameter did not match the session ID of any active LUA LU session.
108