Overview | Represents a DII request. |
File name | request.h |
Supported methods | Request::_duplicate |
Request::_nil | |
Request::add_in_arg | |
Request::add_inout_arg | |
Request::add_out_arg | |
Request::arguments | |
Request::contexts | |
Request::ctx | |
Request::env | |
Request::exceptions | |
Request::get_response | |
Request::invoke | |
Request::operation | |
Request::poll_response | |
Request::result | |
Request::return_value | |
Request::send_deferred | |
Request::send_oneway | |
Request::set_return_type | |
Request::target |
Intended Usage
The Request class provides the primary support for the Dynamic Invocation Interface (DII), which allows client applications to dynamically build and invoke requests on objects.
A Request object contains the following attributes:
The CORBA::Object::_create_request and CORBA::Object::_request methods can be used to create a Request object tailored to a specific IDL operation. These methods are invoked on the target object of the DII request. The _create_request method allows the Request object to be created and fully initialized at once. The _request method requires additional initialization after construction, using methods provided by the Request class. The Request class provides methods to get and set attributes, send a synchronous or asynchronous DII request, and receive the result of an asynchronous request. For additional information, see the CORBA::Object::_create_request and CORBA::Object::_request method descriptions.