summaryrefslogtreecommitdiff
path: root/TAO/tests/AMI/README
blob: 5961b7728a85fc1f2f3813f1d0615c925a2ac469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# $Id$

Description:
This is a simple test for AMI callback model.


Note:
Use TAO_HAS_CORBA_MESSAGING
and TAO_HAS_AMI_CALLBACK
to compile TAO. This enables the AMI code in it.

Also use -GC on the TAO IDL compiler if you want to generate
code for AMI callbacks.

Usage:
=====
$ server -o ior
$ simple_client -ORBSvcConf simple_client_muxed.conf -k file://ior -i 10

simple-client:
=============

$ simple_client -k file://test_ior [-i <niterations] [-x] [-d] \
     -ORBSvcConf {simple-client-muxed.conf,
                  simple-client-exclusive.conf}

-d Enable debug messages.
-i Number of iterations.
-k IOR.
-x Call shutdown method.

Issues <i> number of asynchronous requests. Then it issues a
synchronous request, which collects the replies.

If you choose Muxed Transport configuration, then the synchronous
request  will collect all the asynchronous replies also, since the
replies will arrive in order. 

But in the Exclusive Transport, the synchronous request might now
collect all the AMI replies. It might return as soon as its reply
arrives.