summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/DevGuideExamples/NamingService/Messenger/README
blob: 68eec11fbc1bd77fc8754dc7db5a0c89245c3e61 (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
// $Id$

OMG Naming Service

File: DevGuideExamples/NamingService/Messenger/README


The Original Messenger example, introduced in Chapters 4 and 5 
(GettingStartedUNIX and GettingStartedVC), is modified to utilize the 
Naming Service.  The client now uses the Naming Service rather than 
reading the server object's IOR as a string from a file.

The Client code is stored in:

DevGuideExamples/NamingService/Messenger/MessengerClient.cpp

The Server code is stored in:

DevGuideExamples/NamingService/Messenger/MessengerServer.cpp


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

To start the Naming_Service:
----------------------------
$TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -o ns.ior&

To start the server:
------------------
./MessengerServer -ORBInitRef NameService=file://ns.ior

To start the client:
------------------
./MessengerClient -ORBInitRef NameService=file://ns.ior


Exeuction via Perl Script
-------------------------

A Perl script has been created to automate the three steps shown
above.  This script can be run via the following command:

./run_test.pl