3 Chapters 8 and 10 example.
4 ______________________________________________________________________________
5 This example been taken from the book "Advanced CORBA Programming with C++"
6 by Michi Henning and Steve Vinoski. Copyright 1999. Addison-Wesley, Reading,
7 MA. To make the examples work with TAO, some minor modifications to the
8 source code have been made, with permission, by Mike Moran <mm4@cs.wustl.edu>.
9 All of these changes are documented in the file CHANGES, in this directory.
10 ______________________________________________________________________________
14 This is the most basic version of the climate control system presented
15 throughout the book. The client is presented in chapter 8 and the
19 This example must be built with native C++ exceptions, and with an ACE/TAO
20 build with exceptions. Make sure to use TAO_FLAG Ge=0 to ensure
21 that the IDL generated code uses c++ exceptions rather than creating
22 CORBA_Environment variables.
24 With GNU make, simply type
26 to create the executable server and client.
29 The server takes no parameters nor command line options and returns an
30 IOR to stdout. The server then waits infinitely for clients requests.
33 The client takes an IOR from the command line, narrows this to a
34 controller reference, makes several remote calls on this controller, and
38 This is currently a UNIX only script! It starts up the server, redirecting
39 stdout to a file, then passes the file's contents to the command line of
40 the client. After the client terminates, the server is killed.