4 This is a simple test for AMI callback model.
7 Use TAO_HAS_CORBA_MESSAGING
8 and TAO_HAS_AMI_CALLBACK
9 to compile TAO. This enables the AMI code in it.
11 Use -GC on the TAO IDL compiler to generate code for AMI callbacks.
16 $ simple_client -ORBSvcConf muxed.conf -k file://ior -i 10
21 $ simple_client -k file://test_ior [-i <niterations] [-x] [-d] \
22 -ORBSvcConf {muxed.conf,
25 -d Enable debug messages.
26 -i Number of iterations.
28 -x Call shutdown method.
30 Issues <i> number of asynchronous requests. Then it issues a
31 synchronous request, which collects the replies.
33 If you choose Muxed Transport configuration, then the synchronous
34 request will collect all the asynchronous replies also, since the
35 replies will arrive in order. In the Exclusive Transport, however,
36 the synchronous request might not collect all the AMI replies.
37 Instead, it might return as soon as its reply arrives.