Messenger

所属分类网络编程
开发工具:C/C++
文件大小:905KB
下载次数:44
上传日期:2004-07-13 07:51:14
上 传 者管理员
说明:  corba 通知服务的源代码
(corba notice service source code )

文件列表:
Messenger (0, 2001-12-20)
Messenger\Makefile (2449, 2002-03-28)
Messenger\Messenger.idl (183, 2001-06-23)
Messenger\MessengerClient.cpp (997, 2002-03-28)
Messenger\MessengerClient.dsp (5066, 2002-03-27)
Messenger\MessengerConsumer.cpp (2885, 2004-04-12)
Messenger\MessengerConsumer.dsp (5008, 2002-03-27)
Messenger\MessengerServer.cpp (1234, 2002-02-26)
Messenger\MessengerServer.dsp (6965, 2002-03-27)
Messenger\Messenger_i.cpp (3910, 2004-04-12)
Messenger\Messenger_i.h (553, 2002-01-15)
Messenger\Notify_Channel.dsw (1063, 2002-01-31)
Messenger\StructuredEventConsumer_i.cpp (1322, 2004-04-12)
Messenger\StructuredEventConsumer_i.h (814, 2002-01-29)
Messenger\StructuredEventSupplier_i.cpp (891, 2002-01-29)
Messenger\StructuredEventSupplier_i.h (654, 2002-01-29)
Messenger\run_test.pl (1377, 2002-03-27)
Messenger\Notify_Channel.ncb (1887232, 2004-04-12)
Messenger\MessengerClient.vcproj (5572, 2004-04-12)
Messenger\MessengerConsumer.vcproj (5551, 2004-04-12)
Messenger\MessengerServer.vcproj (8186, 2004-04-12)
Messenger\Notify_Channel.sln (2036, 2004-04-12)
Messenger\Notify_Channel.suo (15360, 2004-04-12)
Messenger\MessengerC.h (6879, 2004-04-12)
Messenger\MessengerC.i (1822, 2004-04-12)
Messenger\MessengerC.cpp (8497, 2004-04-12)
Messenger\MessengerS.h (6026, 2004-04-12)
Messenger\MessengerS.i (776, 2004-04-12)
Messenger\MessengerS.cpp (26348, 2004-04-12)
Messenger\MessengerClient.pdb (445440, 2004-04-12)
Messenger\MessengerServer.pdb (1076224, 2004-04-12)
Messenger\MessengerConsumer.pdb (584704, 2004-04-12)
Messenger\Messenger.ior (318, 2004-04-13)
Messenger\ns.ior (396, 2004-04-12)

Event Notification Service File: examples/NotifyService/Messenger/README This directory contains a simple example of using the Notification Service. This example extends the Messenger example in GettingStarted directory to illustrate how the Notification channel can be used to push messages from the supplier to the consumer. Structured events are used to demonstrate the operation of the channel. The example uses the push/push model. The MessengerServer in this example plays the role of a server for the MessengerClient and the role of a supplier for the MessengerConsumer. The flow of messages is shown below: MessengerClient->MessengerSupplier->NotificationChannel->MessengerConsumer. The Client code is stored in: examples/NotifyService/Messenger/MessengerClient.cpp The Server code is stored in: examples/NotifyService/Messenger/MessengerServer.cpp The Consumer code is stored in: examples/NotifyService/Messenger/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

近期下载者

相关文件

评论我要评论

收藏者