summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Context_Ext/README
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Context_Ext/README')
-rw-r--r--ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Context_Ext/README33
1 files changed, 33 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Context_Ext/README b/ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Context_Ext/README
new file mode 100644
index 00000000000..e2466608fcf
--- /dev/null
+++ b/ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Context_Ext/README
@@ -0,0 +1,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 -ORBListenEndpoints iiop://localhost:2809 &
+
+
+To start the server:
+------------------
+./MessengerServer -ORBInitRef NameService=iiop://localhost:2809/NameService
+
+
+To start the client:
+------------------
+./MessengerClient
+
+