diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h deleted file mode 100644 index e44087e7c4a..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h +++ /dev/null @@ -1,86 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO services -// -// = FILENAME -// EventChannel_i -// -// = AUTHOR -// Pradeep Gore <pradeep@cs.wustl.edu> -// -// = DESCRIPTION -// This has the implementation of the -// CosEventChannelAdmin::EventChannel interface. -// -// ============================================================================ - -#if !defined (EVENTCHANNEL_I_H) -#define EVENTCHANNEL_I_H - -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/CosEventChannelAdminC.h" -#include "orbsvcs/CosEvent/ConsumerAdmin_i.h" -#include "orbsvcs/CosEvent/SupplierAdmin_i.h" - -class TAO_ORBSVCS_Export TAO_CosEC_EventChannel_i : public POA_CosEventChannelAdmin::EventChannel -{ - // = TITLE - // class TAO_CosEC_EventChannel_i implements the standard Cos EventChannel - // interface. - // - // = DESCRIPTION - // This Cos EventChannel implementation is based on TAO's - // Real-time Event Channel. This TAO_CosEC_EventChannel_i implementation - // delegates all its responsibility to corresponding objects from - // the real-time implementation. - // -public: - // = Initialization and termination methods. - TAO_CosEC_EventChannel_i (void); - // Constructor. - - ~TAO_CosEC_EventChannel_i (void); - // Destructor. - - int init (const RtecEventChannelAdmin::ConsumerQOS &consumerqos, - const RtecEventChannelAdmin::SupplierQOS &supplierqos, - RtecEventChannelAdmin::EventChannel_ptr rtec, - CORBA::Environment &TAO_IN_ENV); - // Activates the ConsumerAdmin and SupplierAdmin servants. Returns - // -1 on error, 0 on success. - - virtual CosEventChannelAdmin::ConsumerAdmin_ptr for_consumers (CORBA::Environment &TAO_IN_ENV); - // The for_consumers method will return the same ConsumerAdmin_ptr - // everytime its called. - - virtual CosEventChannelAdmin::SupplierAdmin_ptr for_suppliers (CORBA::Environment &TAO_IN_ENV); - // The for_suppliers method will return the same SupplierAdmin_ptr - // everytime its called. - - virtual void destroy (CORBA::Environment &TAO_IN_ENV); - // Destroys this Event Channel object. - - void shutdown (CORBA::Environment &TAO_IN_ENV); - // destroys this Event Channel object and <delete>s this object. - -private: - TAO_CosEC_ConsumerAdmin_i consumer_admin_; - // ConsumerAdmin servant object. - - TAO_CosEC_SupplierAdmin_i supplier_admin_; - // SupplierAdmin servant object. - - CosEventChannelAdmin::ConsumerAdmin_var consumeradmin_; - // The reference to the ConsumerAdmin interface returned after - // activating the servant in the ORB. - - CosEventChannelAdmin::SupplierAdmin_var supplieradmin_; - // The reference to the SupplierAdmin interface returned after - // activating the servant in the ORB. -}; - -#endif /* EVENTCHANNEL_I_H */ |