summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/Multithreading/Reactive/README
blob: b27d546f86f215bffeb4e5aba7ebc9dacb9d7ea5 (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


File: DevGuideExamples/Multithreading/Reactive/README


This directory contains a CORBA example illustrating a simple client and
a server with an interface Messenger. The Messenger interface has
an operation for sending a message (send_message).  The MessengerClient
will send a message which is displayed by the MessengerServer when
received.  The MessengerClient will then confirm that the message has
been sent successfully.

This version of the MessengerServer illustrates the single-threaded
reactive concurrency model for servers as described in the
Multithreading with TAO chapter.  The svc.conf file shows run time
configuration options for optimizing single-threaded TAO applications.


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

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


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



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


NOTE:

   If you run on Windows platform, go to Debug or Release directory to run the
   script via following command:

   perl ../run_test.pl