Implementing Components

The result of passing your component definitions to an extended IDL compiler is a set of partially generated classes, the executor classes. An executor is essentially a servant class with extra conditions imposed on it to make it fit into the CCM programming framework.

The class that implements a component is a component executor.

When implementing components, it is important to distinguish between container API types because the API type determines which interfaces are used to communicate with the container. There are two component API types:

  • Session API Type applies to the session and service component categories. The relevant IDL interfaces in this case are Components::Basic::SessionContext and Components::Basic::SessionComponent ...

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.