HP-UX SNAplus2 R7 APPC Programmer's Guide

Concepts
Receiving Data Asynchronously
[MC_]DEALLOCATE with a deallocate type of AP_ABEND, AP_ABEND_PROG, AP_ABEND_SVC,or
AP_ABEND_TIMER
[MC_]GET_ATTRIBUTES
[MC_]RECEIVE_EXPEDITED_DATA
[MC_]REQUEST_TO_SEND
[MC_]SEND_ERROR
[MC_]SEND_EXPEDITED_DATA
[MC_]TEST_RTS
TP_ENDED
If the application issues [MC_]RECEIVE_AND_WAIT (or any other APPC verb) using the asynchronous entry
point, it must not issue any other APPC verbs on this conversation until the callback routine has been called.
In Table 16,
Receiving Data Asynchronously, the invoked TP receives data asynchronously.
Table 16 Receiving Data Asynchronously
State Invoking TP Flow Invoked TP State
TP_STARTED
Reset
MC_ALLOCATE
Send
MC_FLUSH
>
Reset
RECEIVE_ALLOCATE
Receive
MC_RECEIVE_AND_POST (pri-
mary_rc=
AP_OK)
Pending-
Post
(TP performs other tasks or issues verbs
such as Request to Send or Get Attributes.
Most other APPC verbs cannot be used in
this conversation state (see Appendix C,
APPC State Changes for information about
permitted verbs).
MC_SEND_DATA
MC_DEALLOCATE
Reset
TP_ENDED
>
Data is received. APPC calls the supplied
callback routine.
38