summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/tests/HTIOP/AMI/README
blob: 04117a71d7d54c09959bc85d6c14004aa345aa24 (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
# $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.  In the Exclusive Transport, however,
the synchronous request might not collect all the AMI replies.
Instead, it might return as soon as its reply arrives.