HP-UX SNAplus2 R7 APPC Programmer's Guide

Concepts
Changing Conversation States (half-duplex)
State Invoking TP Flow Invoked TP State
MC_PREPARE_TO_RECEIVE
(ptr_type =
AP_SYNC_LEVEL)
<
MC_RECEIVE_AND_WAIT
(primary_rc=
AP_OK)(what_rcvd
=
AP_CONFIRM_SEND)
Conrm-
Send
MC_CONFIRMED
>
(MC_PREPARE_TO_RECEIVE
returns, primary_rc =
AP_OK)
Receive
Send
MC_SEND_DATA
MC_DEALLOCATE (deal-
loc_type =
AP_SYNC_LEVEL)
>
MC_RECEIVE_AND_WAIT
(primary_rc =
AP_OK)
(what_rcvd=
AP_DATA_COMPLETE)
MC_RECEIVE_AND_WAIT
(primary_rc=
AP_OK)
(what_rcvd
=
AP_CONFIRM_DEALLOCATE
)
Conrm-
Deallocate
MC_CONFIRMED
<
(MC_DEALLOCATE returns,
primary_rc=
AP_OK)
Reset Reset
TP_ENDED TP_ENDED
1.6.1 Initial States
Before the conversation is allocated, the state is Reset for both TPs. After the conversation is allocated, the initial
state is Send for the invoking TP and Receive for the invoked TP.
32