2-98
SOMobjects Base Toolkit: Programmer’s Reference Manual
create_request_args Method
Purpose
Creates an argument list appropriate for the specified operation.
IDL Syntax
ORBStatus create_request_args (
in Identifier operation,
out NVList arg_list.
out NamedValue result);
Description
The create_request_args method creates the appropriate arg_list (NVList) for the
specified operation. It is similar in function to the create_operation_list method. Its value is
that it also creates the result structure whereas create_operation_list does not.
In DSOM, this method is meaningful only when invoked on a SOMDClientProxy object. If
invoked on a SOMDObject which is not a client proxy, an exception is returned.
Parameters
receiver A pointer to the SOMDObject object to create the request.
env A pointer to the Environment structure for the method caller.
operation The Identifier of the operation for which the argument list is being created.
arg_list A pointer to the location where the method will store a pointer to the
resulting argument list.
result A pointer to the NamedValue structure which will be used to hold the result.
The result’s type field is filled in with the TypeCode of the expected result.
Return Value
The create_request_args method returns an ORBStatus value representing the return
code of the request.
Kommentare zu diesen Handbüchern