summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Notify/Federation/SpaceCraft/README
blob: 2e26efa47f09b4397dd8bd2cc5175b144cf91bfa (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
$Id$

This example simulates spacecraft constellation. Each spacecraft
connects to a constellation-wide multicast group to which it
forwards pre-filtered messages on behalf of its agents. To run
the example start a few spacecrafts (in separate terminal windows):

$ ./craft a
$ ./craft b
$ ./craft c

Then start a few agents (from ../Agent) for each spacecraft:

$ ./agent 1 a
$ ./agent 2 a

$ ./agent 1 b
$ ./agent 2 b

$ ./agent 1 c
$ ./agent 2 c

You should be able to observer that each agent receives only
every third message from the agents on other spacecrafts.


--
Boris Kolpackov <boris@kolpackov.net>