OMG_SupplierSideEC
所属分类:Windows编程
开发工具:WINDOWS
文件大小:9KB
下载次数:8
上传日期:2004-09-20 16:14:55
上 传 者:
zqc99
说明: corba SupplierSideEC
文件列表:
OMG_SupplierSideEC (0, 2004-08-16)
OMG_SupplierSideEC\VC++ (0, 2004-08-16)
OMG_SupplierSideEC\.cvsignore (56, 1999-07-02)
OMG_SupplierSideEC\EchoEventConsumer.dsp (3995, 2002-03-08)
OMG_SupplierSideEC\EchoEventConsumerMain.cpp (2768, 2002-03-08)
OMG_SupplierSideEC\EchoEventConsumer_i.cpp (1077, 2002-03-08)
OMG_SupplierSideEC\EchoEventConsumer_i.h (691, 2002-03-08)
OMG_SupplierSideEC\EchoEventSupplier.dsp (3823, 2002-02-27)
OMG_SupplierSideEC\EchoEventSupplierMain.cpp (3051, 2002-03-08)
OMG_SupplierSideEC\ExceptionUtil.h (1256, 2002-02-27)
OMG_SupplierSideEC\Makefile (2353, 2002-02-27)
OMG_SupplierSideEC\OMG_SupplierSideEC.dsw (748, 2002-01-12)
OMG_SupplierSideEC\run_test.pl (966, 2002-03-08)
OMG Event Service
File: examples/EventServices/OMG_SupplierSideEC/README
This directory contains an example that extends the previous examples
so that the event supplier creates its own local event channel. All
other code is identical to that in EventServices/OMG_Basic.
EchoEventSupplier (contains EC) ------> EchoEventConsumer
By default, the supplier will create a "Native" EC. Passing -wrapper
will force creation of a "Wrapper" EC that will utilize a Real-Time
Event Channel (RTEC) as the underlying implementation.
-------------------------------------------------------------------------
Note: To test this, you must first run the Naming Service
$TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -o ns.ior&
-------------------------------------------------------------------------
EchoEventSupplerMain.cpp
Main program for a PushSupplier.
EchoEventSupplier -ORBInitRef NameService=file://ns.ior
It will create an event channel and publish an event to it every
second.
Use Control-C to kill the process.
-------------------------------------------------------------------------
EchoEventConsumerMain.cpp
Main program for a PushConsumer.
To run it:
EchoEventConsumer -ORBInitRef NameService=file://ns.ior
Use Control-C to kill the process.
-------------------------------------------------------------------------
EchoEventConsumer_i.{h,cpp}
Call which implements the CosEventComm::PushConsumer interface.
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
近期下载者:
相关文件:
收藏者: