Chapter 20 corba fm



Download 234.39 Kb.
View original pdf
Page28/28
Date06.12.2022
Size234.39 Kb.
#60082
1   ...   20   21   22   23   24   25   26   27   28
Chapter 20 CORBA
Soft computing Lab Mannual, Distributed systems
interface EventChannel {
ConsumerAdmin for_consumers();
SupplierAdmin for_suppliers();
};
where the interfaces SupplierAdmin and ConsumerAdmin, which allow the supplier and the consumer to get proxies are defined in IDL as follows:
interface SupplierAdmin {
ProxyPushConsumer obtain_push_consumer();
---
};
interface ConsumerAdmin {
ProxyPushSupplier obtain push interface for the proxy consumer and procy supplier are defined in IDL as follows:
interface ProxyPushConsumer : PushConsumer{
void connect push supplier (in PushSupplier supplier)
raises (AlreadyConnected);
};
interface ProxyPushSupplier : PushSupplier{
void connect push consumer (in PushConsumer consumer)
raises (AlreadyConnected);
};
What advantage is gained by the use of the event channel?
page 851

Download 234.39 Kb.

Share with your friends:
1   ...   20   21   22   23   24   25   26   27   28




The database is protected by copyright ©ininet.org 2024
send message

    Main page