Dynamic Invocation Interface
- Using it, a client can invoke requests on any object without
having compile-time knowledge of the object's interface.
- How?
CORBA::Object
interface implements
Request create_request()
function.
- Get a request pseudo-object.
- Set argument values on it.
- Invoke it.
- The invocation can be:
- Synchronous: Block waiting for the response.
- Deferred Synchronous: The client makes the call
and continues processing, later collects the response.
- Oneway Invocation: Make the request. There is no
response.
- Using the DII is costly (time) since the ORB usually
accesses the IR.
José M. Vidal
.
17 of 21