Specifying mainline code

About this task

The CORBA::TAO::ServerMainLineTemplate property specifies a code segment that is generated in the executable main file if the IBM® Rational® Rhapsody® configuration is defined as a CORBA server. You define a configuration to be a server by setting the CORBA::Configuration::CORBAEnable property to CORBAServer. This code segment performs any initialization and additional setup steps before diving into the CORBA loop.

If you modify the CORBA::TAO::ServerMainLineTemplate property, remember that every quotation mark character precedes with a backslash (\").

Similarly, the CORBA::TAO::ClientMainLineTemplate property enables you to add code to the main function of a CORBA client.


Feedback