3 This test directory tests various demultiplexing strategies used in
4 TAO for POA, object, and operation name lookups
6 Description of various files:
8 CodeGen Directory containing the code generator
10 server.cpp server main program
11 demux_test_server.{h, cpp}: Server-side implementation details
13 client.cpp client main program
14 demux_test_client.{h, cpp}: Client-side implementation details
15 demux_test_macros.h: Some constants used by both the client and the server
21 Must run ./CodeGen/demux tool to generate the following files. See
22 CodeGen/README for command line options.
25 demux_test.idl: The Demux_Test IDL interface
26 demux_test_i.{h, cpp}: Implementation of the Interface
27 demux_test_client.i: Code to be included with the client
28 poa_names.dat: Names for all the POAs to be used
34 server -d (for debugging)
37 -f <IOR file> default is ior.dat
39 client -d (for debugging)
43 -f <IOR file> default is ior.dat
45 -i <invoke strategy> (L = linear
48 W = worst w.r.t linear)
54 The num_POAs, num_objs, and num_ops must match on the client
57 Use the svc.conf file and change the -ORBsystemidpolicydemuxstrategy
58 option to use the desired object lookup strategy. For system ID
59 policy, active demuxing in the default.
61 Use the desired options to the TAO_IDL compiler so that it will
62 generate the right lookup strategy for operation name
69 Make the following changes in Object_Adapter.cpp :
71 #define ACE_ENABLE_TIMEPROBES
73 Comment out all ACE_FUNCTION_TIMEPROBE calls except the one
74 in locate_poa ACE_FUNCTION_TIMEPROBE
75 (TAO_OBJECT_ADAPTER_FIND_POA_START);
78 In the demux_test_client : The object loop increments by one.
85 The results will reveal themselves !!
88 THE SERVANT DEMUX TEST :
89 ------------------------
91 In the demux_test_client : The object loop increments by 5.