Using CORBA::Request Objects

A number of pseudo-interfaces constitute the programming interface for the DII. The most important of these is the CORBA::Request pseudo-interface. A CORBA::Request is a local object used by a client to encapsulate the details of an operation invocation. A client proceeds by creating a CORBA::Request object, filling it with the needed information, and calling CORBA::Request::invoke() to perform the invocation.

The pseudo-interface CORBA::Object defines one operation—CORBA::Object::create_request()—that is used to create a CORBA::Request object. However, both the C++ and Java mappings take a bit of liberty with this pseudo-interface. The following methods are provided in C++ and Java:

  • A _request() method. The C++ method ...

Get Pure CORBA now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.