More tests update
[ACE_TAO.git] / TAO / examples / Advanced / ch_12 / README
blob5977129856451f500da3af044eb73a114adb6ae7
3 Chapter 12 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 ______________________________________________________________________________
13 Summary:
14     This example builds on the climate control system presented in chapters 8
15     and 10.   The added use of customized POA policies including the use of a
16     servant manager is discussed in chapter 11.  The example also incorporates
17     a simulated ICP network within the server process with code from Appendix
18     A.  The simulated network loads it's devices from
20 Building:
21     This example must be built with native C++ exceptions, and with an ACE/TAO
22     build with exceptions.  Make sure to use TAO_FLAG Ge=0 to ensure that the
23     IDL generated code uses c++ exceptions rather than creating
24     CORBA_Environment variables.
26     With GNU make, simply type
27      % make exceptions=1
28     to create the executable server and client
30 server:
31     The server takes no parameters nor command line options and returns an
32     IOR to stdout.  The server then waits infinitely for clients requests.
34 client:
35     The client takes an IOR from the command line, narrows this to a
36     controller reference, makes several remote calls on this controller, and
37     finally terminates.
39 run_test.pl:
40     This is currently a UNIX only script!  It starts up the server, redirecting
41     stdout to a file, then passes the file's contents to the command line of
42     the client.  After the client terminates, the server is killed.