SNAX/APC Application Programming Manual
Using the Application Program Interface
SNAX/APC Application Programming Manual—138786
1-17
Local Target TP Example
4. The remote LU sends an ATTACH to the local LU, and includes the data (and a
request for confirmation) as part of the same message. The SNAX/APC process
receives an ATTACH request for the local TP from the partner LU.
5. The server completes the ATTACH request by dequeuing the TP-READY request
and sending a TP-READY reply to the local TP.
Upon receipt of the TP-READY reply, the local TP can issue a GET-ATTRIBUTES verb
to determine information about the remote TP—or issue a GET-TYPE to determine
whether the conversation type is basic or mapped.
A local TP attached by a remote TP is always initialized to the Receive state. The local
TP issues a RECEIVE-AND-WAIT verb for the data from the remote TP.
The RECEIVE-AND-WAIT verb completes operation when SNAX/APC delivers the
data from the remote TP.
Another Way of Looking at the Same Dataflow
Figure 1-5 illustrates the same start to the conversation illustrated in Figure 1-4, but
extends the discussion of using the RECEIVE-AND-WAIT verb—with two more steps.
Note. If the SNAX/APC process received the remote ATTACH request before the
local TPs TP-READY request, it would queue the ATTACH request until a
TP-READY request arrived from the requested TP.