diff options
Diffstat (limited to 'ACE/TAO/examples/Advanced/ch_12/README')
-rw-r--r-- | ACE/TAO/examples/Advanced/ch_12/README | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/ACE/TAO/examples/Advanced/ch_12/README b/ACE/TAO/examples/Advanced/ch_12/README new file mode 100644 index 00000000000..d099fbc905c --- /dev/null +++ b/ACE/TAO/examples/Advanced/ch_12/README @@ -0,0 +1,55 @@ +$Id$ + +Chapter 12 example. +______________________________________________________________________________ +This example been taken from the book "Advanced CORBA Programming with C++" +by Michi Henning and Steve Vinoski. Copyright 1999. Addison-Wesley, Reading, +MA. To make the examples work with TAO, some minor modifications to the +source code have been made, with permission, by Mike Moran <mm4@cs.wustl.edu>. +All of these changes are documented in the file CHANGES, in this directory. +______________________________________________________________________________ + + +Summary: + This example builds on the climate control system presented in chapters 8 + and 10. The added use of customized POA policies including the use of a + servant manager is discussed in chapter 11. The example also incorporates + a simulated ICP network within the server process with code from Appendix + A. The simulated network loads it's devices from + +Building: + This example must be built with native C++ exceptions, and with an ACE/TAO + build with exceptions. Make sure to use TAO_FLAG Ge=0 to ensure that the + IDL generated code uses c++ exceptions rather than creating + CORBA_Environment variables. + + With GNU make, simply type + % make exceptions=1 + to create the executable server and client + +server: + The server takes no parameters nor command line options and returns an + IOR to stdout. The server then waits infinitely for clients requests. + +client: + The client takes an IOR from the command line, narrows this to a + controller reference, makes several remote calls on this controller, and + finally terminates. + +run_test.pl: + This is currently a UNIX only script! It starts up the server, redirecting + stdout to a file, then passes the file's contents to the command line of + the client. After the client terminates, the server is killed. + + + + + + + + + + + + + |