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 example modifies the climate control system of chapter 12 to have
15 a multithreaded server. The client included here has been taken
19 This example must be built with native C++ exceptions, and with an
20 ACE/TAO build with exceptions. Make sure to use TAO_FLAG Ge=0 to
21 ensure that the IDL generated code uses c++ exceptions rather than
22 creating 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 infinatly 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.