summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/AVStreams/Asynch_Three_Stage/README
blob: 72c0feba821cf46d4b878a67aede4e335dbaeeee (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// $Id$

Description
-----------

This directory contains a  three stage test with 3 processes with the ability to 
aynschronously start the processes in any order. It also supports multiple receivers 
for a sender.

a. Sender
b. Distributer
c. Receiver

This test has a sender process that paces the data read from a file and sends it to 
the distributer process. The distributer acts as a conduit. It receives data from
the sender and sends it immediately to the receiver process.

Running the test
----------------

Start the Naming Service

Start the following processes in any order.

sender
------

sender [-f <filename>] [-r <data_rate>] [-s <sender device name>]

-f filename --> The name of the file from which data needs to be sent

-r data_rate--> The rate at which the data needs to be paced.

-s sender device name --> This is the name of the sender as it will be registered 
                with the naming service and which receivers connect to.

receiver
--------

receiver [-f <filename>] [-s <sender device name>] [-r <receiver device name>]

-f filename --> File into which the data received from the distributer is stored.

-s sender device name --> This is the name of the sender that the receiver wants to 
        connect to.

-r receiver device name --> This is the name with which this receiver will be registered 
        with the naming service.

distributer:
-----------

distributer [-s <sender device name>] [-r <distributer device name>]

-s sender device name --> This is the name of the sender that the receiver wants to 
        connect to.

-r distributer device name --> This is the name with which this distributer will be registered 
        with the naming service. The receivers will bind with this name to receieve data from 
        this distributer.