diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h b/TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h deleted file mode 100644 index 816d8e9bff2..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h +++ /dev/null @@ -1,109 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// ORBSVCS Real-time Event Channel -// -// = FILENAME -// EC_Null_Factory -// -// = AUTHOR -// Carlos O'Ryan (coryan@cs.wustl.edu) -// -// = DESCRIPTION -// A factory for a simple event channel: no filtering or any -// real-time features. -// -// = CREDITS -// Based on previous work by Tim Harrison (harrison@cs.wustl.edu) -// and other members of the DOC group. -// More details can be found in: -// http://www.cs.wustl.edu/~schmidt/oopsla.ps.gz -// http://www.cs.wustl.edu/~schmidt/JSAC-98.ps.gz -// -// -// ============================================================================ - -#ifndef TAO_EC_NULL_FACTORY_H -#define TAO_EC_NULL_FACTORY_H - -#include "EC_Factory.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class TAO_EC_SupplierFiltering; - -class TAO_EC_Null_Factory : public TAO_EC_Factory -{ - // = TITLE - // The factory for a simple event channel. - // - // = DESCRIPTION - // The simplest configuration for an event channel does no - // filtering and uses reactive dispatching. This class is used to - // configure such an event channel. - // A fixed POA is used for servant activation. - // This object creates a single instance of the Supplier - // - // = MEMORY MANAGMENT - // A single event channel instance can be used with an instance of - // this class. - // -public: - TAO_EC_Null_Factory (PortableServer::POA_ptr poa); - // Constructor - - virtual ~TAO_EC_Null_Factory (void); - // destructor... - - // = The EC_Factory methods - virtual TAO_EC_Dispatching* - create_dispatching (TAO_EC_Event_Channel*); - virtual void - destroy_dispatching (TAO_EC_Dispatching*); - virtual TAO_EC_Filter_Builder* - create_filter_builder (TAO_EC_Event_Channel*); - virtual void - destroy_filter_builder (TAO_EC_Filter_Builder*); - virtual TAO_EC_ConsumerAdmin* - create_consumer_admin (TAO_EC_Event_Channel*); - virtual void - destroy_consumer_admin (TAO_EC_ConsumerAdmin*); - virtual TAO_EC_SupplierAdmin* - create_supplier_admin (TAO_EC_Event_Channel*); - virtual void - destroy_supplier_admin (TAO_EC_SupplierAdmin*); - virtual TAO_EC_ProxyPushSupplier* - create_proxy_push_supplier (TAO_EC_Event_Channel*); - virtual void - destroy_proxy_push_supplier (TAO_EC_ProxyPushSupplier*); - virtual TAO_EC_ProxyPushConsumer* - create_proxy_push_consumer (TAO_EC_Event_Channel*); - virtual void - destroy_proxy_push_consumer (TAO_EC_ProxyPushConsumer*); - virtual TAO_EC_Timer_Module* - create_timer_module (TAO_EC_Event_Channel*); - virtual void - destroy_timer_module (TAO_EC_Timer_Module*); - virtual PortableServer::POA_ptr - consumer_poa (CORBA::Environment& env); - virtual PortableServer::POA_ptr - supplier_poa (CORBA::Environment& env); - -private: - PortableServer::POA_var poa_; - // The POA - - TAO_EC_SupplierFiltering* supplier_filtering_; - // The filtering strategy -}; - -#if defined (__ACE_INLINE__) -#include "EC_Null_Factory.i" -#endif /* __ACE_INLINE__ */ - -#endif /* TAO_EC_NULL_FACTORY_H */ |