HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Extract_Conversation_State (cmecs)
Chapter 3164
Extract_Conversation_State (cmecs)
The Extract_Conversation_State call returns the state of the specified
conversation.
Function Call
void cmecs (
unsigned char CM_PTR conversation_ID,
CM_CONVERSATION_STATE CM_PTR conversation_state,
CM_RETURN_CODE CM_PTR return_code
);
Function Call for Java CPI-C
public native void cmecs (
byte[] conversation_ID,
CPICConversationState conversation_state,
CPICReturnCode return_code
);
Supplied Parameters
The supplied parameter is:
conversation_ID
This is the identifier for the conversation. The value of
this parameter was 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_state
This specifies the conversation state. Possible
values are:
CM_INITIALIZE_STATE
CM_INITIALIZE_INCOMING_STATE
CM_SEND_STATE