3 Event Notification Service
6 File: examples/NotifyService/RTNotify/README
8 This directory contains a simple example of using the Notification Service
11 This example extends the basic Messenger notify service example to illustrate
12 how the Notification channel can be used with RT CORBA features. The supplier
13 and consumer both set up their proxies to use a thread pool with lanes and
14 the Notify_Service executable is configured to load the RT_Notification library
15 and associated features. A priority is set in the supplier and propagetd through
16 the channel into the consumer.
18 The MessengerServer in this example plays the role of a server for
19 the MessengerClient and the role of a supplier for the MessengerConsumer.
20 The flow of messages is shown below:
22 MessengerClient->MessengerSupplier->NotificationChannel->MessengerConsumer.
25 The Client code is stored in:
27 examples/NotifyService/Messenger/MessengerClient.cpp
29 The Server code is stored in:
31 examples/NotifyService/Messenger/MessengerServer.cpp
33 The Consumer code is stored in:
35 examples/NotifyService/Messenger/MessengerConsumer.cpp
41 To start the Naming Service:
42 ----------------------------
43 $TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -o ns.ior&
45 To start the Notification Service:
46 ---------------------------------
47 $TAO_ROOT/orbsvcs/Notify_Service/Notify_Service -ORBInitRef NameService=file://ns.iori -ORBSvcConf notify.conf &
49 To start the server/supplier
50 ----------------------------
51 ./MessengerServer -ORBInitRef NameService=file://ns.ior -ORBSvcConf nsclient.conf
55 ./MessengerConsumer -ORBInitRef NameService=file://ns.ior -ORBSvcConf nsclient.conf
59 ./MessengerClient -ORBInitRef NameService=file://ns.ior
63 Exeuction via Perl Script
64 -------------------------
66 A Perl script has been created to automate the steps shown
67 above. This script can be run via the following command: