diff options
Diffstat (limited to 'ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Server/README')
-rw-r--r-- | ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Server/README | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Server/README b/ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Server/README new file mode 100644 index 00000000000..b98ba3a2ee3 --- /dev/null +++ b/ACE/TAO/orbsvcs/DevGuideExamples/NamingService/Naming_Server/README @@ -0,0 +1,41 @@ +// $Id$ + +OMG Naming Service + +File: DevGuideExamples/NamingService/Naming_Server/README + +The example in NamingService/Naming_Client is modified to utilize +the TAO_Naming_Server class. This class enables the Naming Service +to easily be collocated within an application. In this example, +the Naming Service is collocated with a server that supports the +Messenger Interface described in GettingStartedUNIX (or GettingStartedVC). + +The Server code is stored in: + +DevGuideExamples/NamingService/Naming_Server/MessengerServer.cpp + + +How to Run +---------- + +To start the server: +------------------ +./MessengerServer -o 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 + + +NOTE: This example has been changed from the example that appears in the +dev-guide in order to pass command line parameters to the thread +that runs the naming server. |