HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Extract_Conversation_Type (cmect)
Chapter 3166
Extract_Conversation_Type (cmect)
The Extract_Conversation_Type call returns the conversation type
(mapped or basic) of the specified conversation.
Function Call
void cmect (
unsigned char CM_PTR conversation_ID,
CM_CONVERSATION_TYPE CM_PTR conversation_type,
CM_RETURN_CODE CM_PTR return_code
);
Function Call for Java CPI-C
public native void cmect (
byte[] conversation_ID,
CPICConversationType conversation_type,
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.
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.
conversation_type
This parameter specifies the conversation type.
Possible values are:
CM_BASIC_CONVERSATION
CM_MAPPED_CONVERSATION
return_code
Possible values are: