blob: ddf2d5379d2d60172656c2faeb04f7d893793b89 (
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
|
$Id$
Real-Time Event Service
File: DevGuideExamples/EventServices/RTEC_Filter/README
This directory contains some example code for the filters, correlations,
and timeouts features of the RT Event service. For now the code is all
in the EchoEventConsumerMain.cpp file. Simply, comment out the filters/
timeouts/correlations required, remake, and run as below.
-------------------------------------------------------------------------
Note: To test this, you must first run the Naming Service and the
Event Service, e.g.:
$TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -o ns.ior&
$TAO_ROOT/orbsvcs/Event_Service/Event_Service -ORBSvcConf ec.conf -ORBInitRef NameService=file://ns.ior&
-------------------------------------------------------------------------
EchoEventSupplerMain.cpp
Main program for a PushSupplier.
EchoEventSupplier -ORBInitRef NameService=file://ns.ior
It will publish an event to the event channel every 1 second.
Use Control-C to kill the process.
-------------------------------------------------------------------------
EchoEventConsumerMain.cpp
Main program for a PushConsumer.
To run it:
EchoEventConsumer -ORBInitRef NameService=file://ns.ior
Use Control-C to kill the process.
-------------------------------------------------------------------------
EchoEventConsumer_i.{h,cpp}
Call which implements the RtecEventComm::PushConsumer interface.
Exeuction via Perl Script
-------------------------
A Perl script has been created to automate the steps shown
above. This script can be run via the following command:
./run_test.pl
|