Adding include statements

Why and when to perform this task

Use this task to add the necessary include statements to the source file for a CORBA client main code.

Add the following include statements:

#include "servant.hh"
#include <CosNaming.hh>
where:
servant.hh
Specifies the name of the client-side usage bindings file for the server implementation class, servant. This file is created when the server implementation class IDL is compiled, as described in Compiling a CORBA server implementation class IDL (using idlc).
CosNaming.hh
Specifies the header file for the COSNaming functions.

What to do next

You also can add the code for the functions needed in the client main code as described in Creating a CORBA client main code (client.cpp).


Related tasks
Creating the CORBA client main code (client.cpp)
Compiling a CORBA server implementation class IDL (using idlc)



Searchable topic ID:   tcor_pgmc1a
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/tasks/tcor_pgmc1a.html

Library | Support | Terms of Use | Feedback