CHAPTER 20
CORBA
CASE STUDY20.18
Discuss how to use directly connected suppliers and consumers of the CORBA event service in the context of the shared whiteboard application. The
PushConsumer and
PushSupplier interfaces are defined in IDL as follows:
interface PushConsumer {void push(in any data) raises (Disconnected);void disconnect push PushSupplier {void disconnect push supplier()iiiEither the supplier or the consumer may decide to terminate the event communication by calling disconnect_push_supplier() or disconnect_push_consumer() respectively.
page 851
20.19
Describe how to interpose an Event Channel between the supplier and the consumers in your solution to Exercise 20.18. An event channel has the following IDL interface:
Share with your friends: