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

DevGuideExamples/NamingService/Naming_Context_Ext/README

The example in this directory illustratues how to convert between CosNames, 
Stringified Names, and URLs. 

A Name can be converted to a stringified Name by to_string operation. A stringified 
Name can be converted to a Name by to_name operation. The resolve_str operation 
resolves an object by passing a strigified Name. 

The MessengerServer writes its corbaname URL to a file by calling to_url and 
the MessengerClient reads the URL file to get the MessengerServer object reference.



How to Run:
-----------
To start the Naming_Service:
----------------------------
$TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -ORBEndPoint iiop://localhost:2809 &


To start the server:
------------------
./MessengerServer -ORBInitRef NameService=iiop://localhost:2809/NameService


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