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

CPI-C Calls
Set_Prepare_To_Receive_Type (cmsptr)
Chapter 3274
Set_Prepare_To_Receive_Type (cmsptr)
The Set_Prepare_To_Receive_Type call specifies how the subsequent
Prepare_To_Receive calls will be executed. It overrides the default
prepare-to-receive processing established by the Initialize_Conversation
or Accept_Conversation call. By default, the prepare-to-receive
processing is based on the synchronization level of the conversation.
The prepare to receive type affects all subsequent Prepare_To_Receive
calls.It can be changed by issuing the Set_Prepare_To_Receive_Type call
again.
Function Call
void cmsptr (
unsigned char CM_PTR conversation_ID,
CM_PREPARE_TO_RECEIVE_TYPE CM_PTR prepare_to_receive_type,
CM_RETURN_CODE CM_PTR return_code
);
Function Call for Java CPI-C
public native void cmsptr (
byte[] conversation_ID,
CPICPrepareToReceiveType prepare_to_receive_type,
CPICReturnCode return_code
);
Supplied Parameters
The supplied parameters are:
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.
prepare_to_receive_type
This parameter specifies how subsequent
Prepare_To_Receive calls will be executed. Possible
values are: