2-77
DSOM Framework Reference
destroy Method (for a Request object)
Purpose
Deletes the memory allocated by the ORB for a Request object.
IDL Syntax
ORBStatus destroy ( );
Description
The destroy method deletes the Request object and all associated memory.
Note: This method is called “delete” in the CORBA 1.1 specification. However, the word
“delete” is a reserved operator in C++, so the name “destroy” was chosen as an
alternative. For CORBA compatibility, a macro defining Request_delete as an alias
for destroy has been included in the C header files.
Parameters
receiver A pointer to a Request object.
env A pointer to the Environment structure for the method caller.
Return Value
The destroy method returns an ORBStatus value representing the return code of the
operation.
Komentáře k této Příručce