SNAX/HLS Application Programming Manual

PREPARE-TO-CLOSE Verb
SNAX/HLS Verbs
5–56 104707 Tandem Computers Incorporated
Figure 5–11 shows a session example of a PLU issuing the PREPARE–TO–CLOSE
verb. This example shows the SNAX/HLS server acting as both the PLU and the SLU.
Figure 5–11. Example of PLU PREPARE–TO–CLOSE
PLU (SNA TRAFFIC) SLU
RECEIVE-DATA
request
PREPARE-TO-CLOSE
request
SHUTD
RECEIVE-DATA
reply
DATA-TYPE=
DT-PREPARED-TO-CLOSE
(+RSP)
PREPARE-TO-CLOSE
reply
.
When the SLU is ready to close:
.
PREPARE-TO-CLOSE
request
SHUTC
RECEIVE-DATA
request
RECEIVE-DATA
reply
DATA-TYPE-RECEIVED=
DT-PREPARED-TO-CLOSE
(+RSP)
PREPARE-TO-CLOSE
reply
To close the session, the PLU proceeds:
RECEIVE-DATA request
CLOSE-SESSION
request
CLOSE-SESSION
reply
UNBIND
(+RSP)
RECEIVE-DATA reply
DATA-TYPE=
DT-SESSION-CLOSED
* Note that SNAX/HLS closes the LU associated with the
session ID prior to the verb reply.