HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Set_Deallocate_Type (cmsdt)
Chapter 3252
Set_Deallocate_Type (cmsdt)
The Set_Deallocate_Type call specifies how the conversation is to be
deallocated. This call overrides the default deallocate type established by
the Initialize_Conversation or Accept_Conversation call. The default
deallocate type is CM_DEALLOCATE_SYNC_LEVEL.
The deallocation instructions specified by this call, take effect when the
Deallocate call is issued or when the send type is set to
CM_SEND_AND_DEALLOCATE and the Send_Data call is issued.
Function Call
void cmsdt (
unsigned char CM_PTR conversation_ID,
CM_DEALLOCATE_TYPE CM_PTR deallocate_type,
CM_RETURN_CODE CM_PTR return_code
);
Function Call for Java CPI-C
public native void cmsdt (
byte[] conversation_ID,
CPICDeallocateType deallocate_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.
deallocate_type
This parameter specifies how to perform the
deallocation. Possible values are:
CM_DEALLOCATE_ABEND The conversation is to be
deallocated abnormally,
unconditionally. A program should
specify CM_DEALLOCATE_ABEND