HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_RECEIVE
5.5 SLI_RECEIVE
The SLI_RECEIVE verb receives a complete chain of data, or status information, sent from the host to the
application’s LU.
You can specify a particular message flow (LU normal, LU expedited, SSCP normal, or SSCP expedited) from
which to read data, or you can specify more than one message flow. You can have multiple SLI_RECEIVE verbs
outstanding, provided that no two of them specify the same flow.
5.5.1 Supplied Parameters
The application supplies the following parameters:
lua_verb
LUA_VERB_SLI
lua_verb_length
The length in bytes of the LUA verb record.
Set this to sizeof(LUA_VERB_RECORD).
lua_opcode
LUA_OPCODE_SLI_RECEIVE
lua_correlator
Optional. A four-byte value that you can use to correlate this verb with other processing within your
application. LUA does not use or change this information.
lua_luname
The name in ASCII of the LU used by the session. This must match the LU name of an active LUA session,
as returned on the SLI_OPEN verb.
This parameter is required only if the
lua_sid parameter is 0 (zero). If a session ID is supplied in lua_sid,
LUA does not use this parameter.
This parameter must be eight bytes long; pad on the right with spaces, 0x20, if the name is shorter than
eight characters.
lua_sid
The session ID of the session. This must match a session ID returned on a previous SLI_OPEN verb.
This parameter is optional; if you do not specify the session ID, you must specify the LU name for the session
in the lua_luname parameter.
lua_max_length
The length of the buffer supplied to receive the data.
lua_data_ptr
A pointer to the buffer supplied to receive the data.
lua_post_handle
UNIX
A pointer to a callback routine that LUA will call to indicate completion if the verb completes asynchronously.
WINDOWS
129