summaryrefslogtreecommitdiff
path: root/TAO/tests/AMI/README
blob: d9bca25e039698f54a895bd21ec54d0058ad9f58 (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
# $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.

Use -GC on the TAO IDL compiler to generate code for AMI callbacks. 

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

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

$ simple_client -k file://test_ior [-i <niterations] [-x] [-d] \
     -ORBSvcConf {muxed.conf,
                  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.