diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.i')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.i | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.i b/TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.i deleted file mode 100644 index 0b9af87de70..00000000000 --- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.i +++ /dev/null @@ -1,85 +0,0 @@ -//$Id$ -#include "Notify_Listeners.h" -#include "Notify_Event_Map.h" -#include "Notify_Event_Processor.h" -#include "Notify_AdminProperties.h" -#include "tao/corba.h" - -ACE_INLINE void -TAO_Notify_Event_Manager::process_event (TAO_Notify_Event* event, - TAO_Notify_EventSource* event_source - ACE_ENV_ARG_DECL) -{ - if (admin_properties_->reject_new_events () == 1 - && admin_properties_->queue_full ()) - ACE_THROW (CORBA::IMP_LIMIT ()); - - this->event_processor_->evaluate_source_filter (event, - event_source - ACE_ENV_ARG_PARAMETER); - // Start by checking if the event passes through the Source's filter. -} - -ACE_INLINE void -TAO_Notify_Event_Manager::register_for_publication_updates (TAO_Notify_UpdateListener* update_listener ACE_ENV_ARG_DECL) -{ - this->event_map_->register_for_publication_updates (update_listener - ACE_ENV_ARG_PARAMETER); -} - -ACE_INLINE void -TAO_Notify_Event_Manager::register_for_subscription_updates (TAO_Notify_UpdateListener* update_listener ACE_ENV_ARG_DECL) -{ - this->event_map_->register_for_subscription_updates (update_listener - ACE_ENV_ARG_PARAMETER); -} - -ACE_INLINE void -TAO_Notify_Event_Manager:: unregister_from_subscription_updates (TAO_Notify_UpdateListener* update_listener ACE_ENV_ARG_DECL) -{ - this->event_map_->unregister_from_subscription_updates (update_listener - ACE_ENV_ARG_PARAMETER); -} - -ACE_INLINE void -TAO_Notify_Event_Manager::unregister_from_publication_updates (TAO_Notify_UpdateListener* update_listener ACE_ENV_ARG_DECL) -{ - this->event_map_->unregister_from_publication_updates(update_listener - ACE_ENV_ARG_PARAMETER); -} - -ACE_INLINE TAO_Notify_Event_Map* -TAO_Notify_Event_Manager::event_map (void) -{ - return this->event_map_; -} - -ACE_INLINE TAO_Notify_Event_Processor* -TAO_Notify_Event_Manager::event_processor (void) -{ - return this->event_processor_; -} - -ACE_INLINE CosNotification::EventTypeSeq* -TAO_Notify_Event_Manager::obtain_offered_types (void) -{ - return this->event_map_->obtain_offered_types (); -} - -ACE_INLINE CosNotification::EventTypeSeq* -TAO_Notify_Event_Manager::obtain_subscription_types (void) -{ - return this->event_map_->obtain_subscription_types (); -} - -ACE_INLINE TAO_Notify_AdminProperties* -TAO_Notify_Event_Manager::admin_properties (void) -{ - return this->admin_properties_; -} - -ACE_INLINE TAO_Notify_EMO_Factory* -TAO_Notify_Event_Manager::resource_factory (void) -{ - return this->emo_factory_; -} |