O'Reilly logo

Pure CORBA by Fintan Bolton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dynamic Creation of Type Codes

The first step in the creation of a DynAny is to obtain a type code that describes the layout of the data held by the any. In general, if you are building a dynamic application such as a CORBA bridge, it is necessary to create type codes dynamically.

The interface for creating type codes dynamically is defined by a subset of operations in CORBA::ORB. A number of additional data types, borrowed from the interface repository IDL, are also used. Excerpts from the relevant IDL are shown in Listing 17.1.

Listing 17.1. IDL for Creating Type Codes
//IDL module CORBA { //---------------------------------------------------------- // Excerpt from the Interface Repository specification // The following types are needed for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required