00001
00002
00003
00004 #ifndef _COS_EVENT_COMM_IDL_
00005 #define _COS_EVENT_COMM_IDL_
00006
00007
00008
00009 #pragma prefix "omg.org"
00010
00011 module CosEventComm {
00012
00013 exception Disconnected{};
00014
00015 interface PushConsumer {
00016 void push (in any data) raises(Disconnected);
00017 void disconnect_push_consumer();
00018 };
00019
00020 interface PushSupplier {
00021 void disconnect_push_supplier();
00022 };
00023
00024 interface PullSupplier {
00025 any pull () raises(Disconnected);
00026 any try_pull (out boolean has_event)
00027 raises(Disconnected);
00028 void disconnect_pull_supplier();
00029 };
00030
00031 interface PullConsumer {
00032 void disconnect_pull_consumer();
00033 };
00034
00035 };
00036 #endif