3 Real-Time Event Service
6 File: DevGuideExamples/EventServices/RTEC_Basic/README
9 This directory contains a simple example of using the RT Event service.
10 This example uses the push/push model:
12 EchoEventSupplier ------> Event_Service ------> EchoEventConsumer
14 -------------------------------------------------------------------------
16 Note: To test this, you must first run the Naming Service and the
19 $TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -o ns.ior&
20 $TAO_ROOT/orbsvcs/Event_Service/Event_Service -ORBInitRef NameService=file://ns.ior&
22 -------------------------------------------------------------------------
24 EchoEventSupplerMain.cpp
26 Main program for a PushSupplier.
28 EchoEventSupplier -ORBInitRef NameService=file://ns.ior
30 It will publish an event to the event channel every 1 second.
31 Use Control-C to kill the process.
33 -------------------------------------------------------------------------
35 EchoEventConsumerMain.cpp
37 Main program for a PushConsumer.
41 EchoEventConsumer -ORBInitRef NameService=file://ns.ior
43 Use Control-C to kill the process.
45 -------------------------------------------------------------------------
47 EchoEventConsumer_i.{h,cpp}
49 Call which implements the RtecEventComm::PushConsumer interface.
53 Exeuction via Perl Script
54 -------------------------
56 A Perl script has been created to automate the steps shown
57 above. This script can be run via the following command: