Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

CosEventComm.idl

Go to the documentation of this file.
00001 #ifndef COS_EVENTCOMM_IDL
00002 #define COS_EVENTCOMM_IDL
00003  
00014 #pragma prefix "omg.org"
00015 
00016 module CosEventComm
00017 {
00021    exception Disconnected {};
00022 
00026    interface PushConsumer
00027    {
00033       void push (in any data) raises (Disconnected);
00034 
00038       void disconnect_push_consumer (); 
00039    };
00040 
00044    interface PushSupplier
00045    {      
00049       void disconnect_push_supplier ();
00050    };
00051 
00055    interface PullSupplier
00056    {    
00062       any pull () raises (Disconnected);
00063     
00071       any try_pull (out boolean has_event) raises (Disconnected);      
00072 
00076       void disconnect_pull_supplier (); 
00077    };
00078 
00082    interface PullConsumer
00083    {
00087       void disconnect_pull_consumer ();
00088    };
00089 };
00090 
00091 #endif /* COS_EVENTCOMM_IDL */