[Enterprise Extensions only]

ORB::create_operation_list

Overview Creates a CORBA::NVList for a particular IDL operation.
Original class CORBA::ORB
Exceptions CORBA::SystemException


Intended Usage

The CORBA::ORB::create_operation_list method is intended to be used by client applications that are using the Dynamic Invocation Interface (DII), to create a CORBA::NVList object to be passed to the CORBA::Object::create_request method. The new NVList contains an item describing the name, type, and mode of each parameter of the IDL operation described by the input CORBA::OperationDef object. The application must update the NVList with the values of any in and inout parameters before invoking the corresponding DII request.

See also ORB::create_list.

IDL Syntax

  CORBA::Status create_operation_list (
    CORBA::OperationDef_ptr operdf,
    CORBA::NVList_ptr& nvlist);

Input parameters

operdf
A non-NULL CORBA::OperationDef object, obtained from the Interface Repository, that describes the operation that the new NVList will describe. The caller retains ownership of this object.
nvlist
A pointer for a CORBA::NVList object, passed by reference, to be initialized by the CORBA::ORB::create_operation_list method. The caller assumes ownership of the new NVList object, but if the caller subsequently passes the NVList to the CORBA::Object::create_request method, the Request object then assumes ownership of the NVList.

Return values

CORBA::Status
A zero return value indicates success.

Example

See example in CORBA::Object::_create_request.