6 File: DevGuideExamples/EventServices/OMG_SupplierSideEC/README
9 This directory contains an example that extends the previous examples
10 so that the event supplier creates its own local event channel. All
11 other code is identical to that in EventServices/OMG_Basic.
13 EchoEventSupplier (contains EC) ------> EchoEventConsumer
15 By default, the supplier will create a "Native" EC. Passing -wrapper
16 will force creation of a "Wrapper" EC that will utilize a Real-Time
17 Event Channel (RTEC) as the underlying implementation.
19 -------------------------------------------------------------------------
21 Note: To test this, you must first run the Naming Service
23 $TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -o ns.ior&
25 -------------------------------------------------------------------------
27 EchoEventSupplerMain.cpp
29 Main program for a PushSupplier.
31 EchoEventSupplier -ORBInitRef NameService=file://ns.ior
33 It will create an event channel and publish an event to it every
35 Use Control-C to kill the process.
37 -------------------------------------------------------------------------
39 EchoEventConsumerMain.cpp
41 Main program for a PushConsumer.
45 EchoEventConsumer -ORBInitRef NameService=file://ns.ior
47 Use Control-C to kill the process.
49 -------------------------------------------------------------------------
51 EchoEventConsumer_i.{h,cpp}
53 Call which implements the CosEventComm::PushConsumer interface.
57 Exeuction via Perl Script
58 -------------------------
60 A Perl script has been created to automate the steps shown
61 above. This script can be run via the following command: