propset...
[obnox/wireshark/wip.git] / idl / coseventcomm.idl
1 //File: CosEventComm.idl
2 //Part of the Event Service
3 //From http://industry.ebi.ac.uk/openBSA/idl/CosEventComm.idl
4
5 #ifndef _COS_EVENT_COMM_IDL_
6 #define _COS_EVENT_COMM_IDL_
7 #pragma prefix "omg.org"
8
9 module CosEventComm {
10
11         exception Disconnected{};
12
13         interface PushConsumer {
14                 void push (in any data) raises(Disconnected);
15                 void disconnect_push_consumer(); 
16         };
17
18         interface PushSupplier {
19                 void disconnect_push_supplier();
20         };
21
22         interface PullSupplier {
23                 any pull () raises(Disconnected);
24                 any try_pull (out boolean has_event) 
25                         raises(Disconnected);
26                 void disconnect_pull_supplier(); 
27         };
28
29         interface PullConsumer {
30                 void disconnect_pull_consumer();
31         };
32
33 };
34 #endif /* ifndef _COS_EVENT_COMM_IDL_ */