summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/DevGuideExamples/NotifyService/SupplierSideNC/README
blob: 74ca8f88ca882b9ea68cd18112c937bbf64e2d17 (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
// $Id$

examples/NotifyService/SupplierSideNC/README

This directory contains a simple example of using the Notification Service.

This example extends the Messenger example in Filtering directory 
to illustrate how the Notification channel can be used to push messages
from the supplier to the consumer. Furthermore, this example shows
how you could set up filters so that only a certain events are 
passed to the consumer.
 
This example uses the push/push model.

In this example, the Notify Service initiation is incorporated into the 
MessengerServer.

The MessengerSupplier in this example plays the role of a server for
the MessengerClient and the role of a supplier for the MessengerConsumer. 
The flow of messages is shown below:

MessengerClient->(MessengerSupplier->NotificationChannel)->MessengerConsumer.

How to Run
----------

To start the Naming Service:
----------------------------
$TAO_ROOT/orbsvcs/Naming_Service/Naming_Service &

To start the supplier:
------------------
./MessengerServer

To start the consumer
---------------------
./MessengerConsumer

To start the client
-------------------
./MessengerClient
To start the client:
------------------
./MessengerClient