readme

来自「在开发TAO的命名服务中用到的服务端及客户端源代码。」· 代码 · 共 40 行

TXT
40
字号
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.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?