Processing Invocations in a Client

Implementing a callback object in a client is similar to implementing a regular CORBA object in a server (a callback object is just a CORBA object that lives in the client). To implement a callback, perform the following steps:

1.
Implement a servant class for the callback’s IDL interface.
2.
Instantiate and activate the callback servant in the same way as in a server.
3.
Configure the POA that activates the callback object to have the TRANSIENT lifespan policy value. An application that supports only TRANSIENT objects does not need to be registered with the ORB’s activation mechanism (activation in the sense of launching a process). Most ORB implementations optimize the interoperable object references (IORs) ...

Get Pure CORBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.