HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Accept_Incoming (cmacci)
Chapter 3122
Accept_Incoming (cmacci)
For Unix The Accept_Incoming call is issued by the invoked program to accept an
incoming conversation that has previously been initialized with
Initialize_For_Incoming, and to set certain conversation characteristics.
For a list of initial conversation characteristics, see “Initial Conversation
Characteristics” in Chapter 2.
Before issuing this call, the program can issue Set_Processing_Mode to
set the processing mode for the conversation to CM_NON_BLOCKING. This
ensures that the Accept_Incoming call and all subsequent CPI-C calls
are issued in nonblocking mode.
Function Call
void cmacci (
unsigned char CM_PTR conversation_ID,
CM_RETURN_CODE CM_PTR return_code
);
Function Call for Java CPI-C
public native void cmacci (
byte[] conversation_ID,
CPICReturnCode return_code
);
Supplied Parameters
The supplied parameter is:
conversation_ID
This is the identifier for the conversation that was
returned on the previous Initialize_For_Incoming call.
It is used to identify subsequent CPI-C calls on this
conversation.
Returned Parameters
After the verb executes, SNAplus2 returns parameters to indicate
whether the execution was successful and, if not, to indicate the reason
the execution was unsuccessful.