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