1 //File: CosEventComm.idl
2 //Part of the Event Service
3 //From http://industry.ebi.ac.uk/openBSA/idl/CosEventComm.idl
5 #ifndef _COS_EVENT_COMM_IDL_
6 #define _COS_EVENT_COMM_IDL_
7 #pragma prefix
"omg.org"
11 exception Disconnected
{};
13 interface PushConsumer
{
14 void push
(in any data
) raises
(Disconnected
);
15 void disconnect_push_consumer
();
18 interface PushSupplier
{
19 void disconnect_push_supplier
();
22 interface PullSupplier
{
23 any pull
() raises
(Disconnected
);
24 any try_pull
(out boolean has_event
)
26 void disconnect_pull_supplier
();
29 interface PullConsumer
{
30 void disconnect_pull_consumer
();
34 #endif
/* ifndef _COS_EVENT_COMM_IDL_ */