|
|
|
|
LUA Communication Sequence, shows a sample LUA communication sequence.
In this example, the application performs the following steps:
Issues the RUI_INIT verb to establish the SSCP session. The RUI_INIT verb does not complete until SNAP-IX has received an activate logical unit (ACTLU) message from the host and sent a positive response; however, these messages are handled by SNAP-IX and not exposed to the LUA application.
Sends an INITSELF message to the SSCP, to request a BIND, and reads the response.
Reads a BIND message from the host, and writes the response. This establishes the LU session.
Reads an SDT message from the host, which indicates that initialization is complete and data transfer can begin.
Sends a chain of data consisting of three RUs (the last indicates that a definite response is required), and reads the response.
Reads a chain of data consisting of two RUs, and writes the response.
Reads an UNBIND message from the host, and writes the response. This terminates the LU session.
Issues the RUI_TERM verb to terminate the SSCP session. (SNAP-IX sends a NOTIFY message to the host and waits for a positive response; however, these messages are handled by SNAP-IX and not exposed to the LUA application.)
The list that follows shows the abbreviations used in LUA Communication Sequence.
LUA Communication Sequence, shows the LUA verbs used to start a session, exchange data, and end the session, and the SNA messages sent and received. The arrows indicate the direction in which SNA messages flow.
|
|
|
|
|