HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Confirmed (cmcfmd)
Chapter 3142
Usage Notes
The following sections describe additional usage information for the
Confirmed call.
Sources of Confirmation Requests
A confirmation request is issued by one of the following calls in the
partner program:
• Confirm
• Prepare_To_Receive if the prepare-to-receive type is set to either
CM_PREP_TO_RECEIVE_CONFIRM or
CM_PREP_TO_RECEIVE_SYNC_LEVEL and the conversation's
synchronization level is set to CM_CONFIRM
• Deallocate if the deallocate type is set to CM_DEALLOCATE_CONFIRM or
to CM_DEALLOCATE_SYNC_LEVEL and the conversation's
synchronization level is set to CM_CONFIRM
• Send_Data under the following circumstances:
— The send type is set to CM_SEND_AND_CONFIRM
— The send type is set to CM_SEND_AND_PREP_TO_RECEIVE and the
prepare-to-receive type is set to CM_PREP_TO_RECEIVE_CONFIRM
— The send type is set to CM_SEND_AND_PREP_TO_RECEIVE, the
prepare-to-receive type is set to
CM_PREP_TO_RECEIVE_SYNC_LEVEL and the synchronization
level is set to CM_CONFIRM
— The send type is set to CM_SEND_AND_DEALLOCATE and the
deallocate type is set to CM_DEALLOCATE_CONFIRM
— The send type is set to CM_SEND_AND_DEALLOCATE, the deallocate
type is set to CM_DEALLOCATE_SYNC_LEVEL and the
synchronization level is set to CM_CONFIRM
Receiving Confirmation Requests
A confirmation request is received by the local program through the
status_received
parameter of the Receive call. The local program can
issue the Confirmed call only if the
status_received
parameter is set to
one of the following values:
• CM_CONFIRM_RECEIVED