readme

来自「在使用TAO的通知服务过程中作为提供者于消费者的各种例程。」· 代码 · 共 56 行

TXT
56
字号
Event Notification Service


File: DevGuideExamples/NotifyService/QoSProperties/README


This example extends the NotifyService/Messenger example by
demonstrating how QoS features can be incorporated into the utilization 
of the Notification channel.

The Client code is stored in:

DevGuideExamples/NotifyService/QoSProperties/MessengerClient.cpp

The Server code is stored in:

DevGuideExamples/NotifyService/QoSProperties/MessengerServer.cpp

The Consumer code is stored in:

DevGuideExamples/NotifyService/QoSProperties/MessengerConsumer.cpp


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

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

To start the Notification Service:
---------------------------------
$TAO_ROOT/orbsvcs/Notify_Service/Notify_Service -ORBInitRef NameService=file://ns.ior&

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

To start the consumer
---------------------
./MessengerConsumer -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 steps shown
above.  This script can be run via the following command:

./run_test.pl

⌨️ 快捷键说明

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