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.

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.


Related reference
CORBA module



Searchable topic ID:   rcor_modo16
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modo16.html

Library | Support | Terms of Use | Feedback