HP-UX SNAplus2 R7 APPC Programmer's Guide

APPC Conversation Verbs
MC_RECEIVE_AND_WAIT and RECEIVE_AND_WAIT
AP_DATA
This value can be returned by the basic-conversation RECEIVE_AND_WAIT verb if the ll parameter
is set to AP_BUFFER; it is not applicable to MC_RECEIVE_AND_WAIT.
The local TP received data until max_len or end of data was reached.
AP_DATA_COMPLETE
For the mapped-conversation MC_RECEIVE_AND_WAIT verb, this value indicates that the local TP
has received a complete data record or the last part of a data record.
For the basic-conversation RECEIVE_AND_WAIT verb with the ll parameter set to AP_LL, this value
indicates that the local TP has received a complete logical record or the end of a logical record.
AP_DATA_INCOMPLETE
For the mapped-conversation MC_RECEIVE_AND_WAIT verb, this value indicates that the local TP
has received an incomplete data record. The max_len parameter specied a value less than the length
of the data record (or less than the remainder of the data record if this is not the
rst receive verb to
read the record).
For the basic-conversation RECEIVE_AND_WAIT verb with the ll parameter set to AP_LL, this value
indicates that the local TP has received an incomplete logical record.
AP_SEND
This value can be returned only in a half-duplex conversation.
For the partner TP, the conversation has entered Receive state. For the local TP, the conversation is
now in Send state.
The following values will be returned only in a half-duplex conversation, and only if rtn_status was set to
AP_YES:
AP_DATA_CONFIRM
This is a combination of
AP_DATA
and AP_CONFIRM_WHAT_RECEIVED. The partner TP sent data and
then issued the [MC_]CONFIRM verb, or issued the [MC_]SEND_DATA verb with a send type of
CONFIRM.
AP_DATA_COMPLETE_CONFIRM
This is a combination of
AP_DATA_COMPLETE
and AP_CONFIRM_WHAT_RECEIVED. The partner TP sent
a complete data record (or the end of a data record) and then issued the [MC_]CONFIRM verb, or
issued the [MC_]SEND_DATA verb with a send type of CONFIRM.
AP_DATA_CONFIRM_DEALLOCATE
This is a combination of
AP_DATA
and AP_CONFIRM_DEALLOCATE
. The partner TP sent data and
then issued the [MC_]DEALLOCATE verb with dealloc_type set to AP_SYNC_LEVEL or issued
the [MC_]SEND_DATA verb with a send type of DEALLOC_SYNC_LEVEL. The conversations
synchronization level, established by the [MC_]ALLOCATE verb, is AP_CONFIRM_SYNC_LEVEL.
AP_DATA_COMPLETE_CONFIRM_DEALL
This is a combination of
AP_DATA_COMPLETE and AP_CONFIRM_DEALLOCATE
. The partner TP sent
a complete data record (or the end of a data record) and then issued the [MC_]DEALLOCATE
verb with dealloc_type set to AP_SYNC_LEVEL, or issued the [MC_]SEND_DATA verb with a
send type of DEALLOC_SYNC_LEVEL. The conversations synchronization level, established by the
[MC_]ALLOCATE verb, is AP_CONFIRM_SYNC_LEVEL.
AP_DATA_CONFIRM_SEND
This is a combination of AP_DATA and AP_CONFIRM_SEND. The partner TP sent data and then
issued the [MC_]PREPARE_TO_RECEIVE verb with ptr_type set to AP_SYNC_LEVEL, or issued
the [MC_]SEND_DATA verb with a send type of P_TO_R_SYNC_LEVEL. The conversations
synchronization level, established by the [MC_]ALLOCATE verb, is AP_CONFIRM_SYNC_LEVEL.
AP_DATA_COMPLETE_CONFIRM_SEND
178