HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

CPI-C Calls
Flush (cmflus)
Chapter 3 187
Flush (cmflus)
The Flush call sends the contents of the local LU's send buffer to the
partner LU (and program). If the send buffer is empty, no action takes
place.
Sources of Buffered Data
Data processed by the Send_Data call accumulates in the local LU's send
buffer until one of the following happens:
The local program issues the Flush call or other call that flushes the
LU's send buffer. (Some send types, set by the Set_Send_Type call,
include flush functionality.)
The buffer is full.
The allocation request generated by the Allocate call and error
information generated by the Send_Error call are also buffered.
Function Call
void cmflus (
unsigned char CM_PTR conversation_ID,
CM_RETURN_CODE CM_PTR return_code
);
Function Call for Java CPI-C
public native void cmflus (
byte[] conversation_ID,
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.