5 This is another test showing the use of a Custom Servant Dispatching
6 (CSD) Strategy. This test uses the reference implementation, known as the
7 Thread Pool CSD Strategy. This tests some simple remote two-way CORBA
8 requests and a simple remote one-way request.
10 The server application creates 10 servant object, runs the ORB event
11 loop using the main thread, and uses 10 worker thread for the
12 Thread Pool CSD Strategy.
14 The client application invokes simple two-way calls on the object
15 reference. There is also a simple one-way call that is also made on
18 The run_test.pl script will launch 1 sever process, and 40 client processes.
19 Since the server process contains 10 distinct servants, the clients are
20 evenly divided such that each servant "serves" 4 distinct clients.
27 This is the client test executable.
29 Command-line arguments:
31 -? : Prints the executable's available command-line options, and
34 -i <ior string> : Provide the IOR to the client (ie, file://some.ior).
38 This is the server test executable.
40 Command-line arguments:
42 -? : Prints the executable's available command-line options, and
45 -p <ior filename prefix> : Common prefix used in all ior filenames
48 -s <num servants> : The number of servant objects in the server.
50 -c <num clients> : The number of clients that will use the server.
54 This perl script will run an automated test using 40 client processes
55 and 1 server process. The script returns 0 if the test was successful.
57 No command-line options are supported. Simply execute the perl script