HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Confirm (cmcfm)
Chapter 3 135
Confirm (cmcfm)
The Confirm call sends the contents of the local LU's send buffer and a
confirmation request to the partner program and waits for confirmation.
In response to the Confirm call, the partner program normally issues the
Confirmed call to confirm that it has received the data without error. (If
the partner program encounters an error, it issues the Send_Error call or
uses the Deallocate call to abnormally deallocate the conversation.)
The program can issue the Confirm call only if the conversation's
synchronization level is CM_CONFIRM.
Function Call
void cmcfm (
unsigned char CM_PTR conversation_ID,
CM_Request_to_Send_Received CM_PTR request_to_send_received,
CM_RETURN_CODE CM_PTR return_code
);
Function Call for Java CPI-C
public native void cmcfm (
byte[] conversation_ID,
CPICControlInformationReceived request_to_send_received,
CPICReturnCode return_code
);
Supplied Parameters
The supplied parameter is:
conversation_ID
This is the identifier for the conversation. The value of
this parameter is returned by the
Initialize_Conversation, Initialize_For_Incoming, or
Accept_Conversation call.