diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Event.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Event.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Event.h b/TAO/orbsvcs/orbsvcs/Notify/Event.h index 52b554cfb33..ce76ee569d0 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/Event.h +++ b/TAO/orbsvcs/orbsvcs/Notify/Event.h @@ -21,6 +21,7 @@ #include "ace/Copy_Disabled.h" #include "orbsvcs/Event_ForwarderS.h" +#include "orbsvcs/CosNotifyFilterC.h" class TAO_NS_EventType; class TAO_NS_Consumer; @@ -38,16 +39,22 @@ public: TAO_NS_Event (void); /// Destructor - virtual ~TAO_NS_Event (); + virtual ~TAO_NS_Event (); /// Get the event type. virtual const TAO_NS_EventType& type (void) const = 0; + /// Returns true if the filter matches. + virtual CORBA::Boolean do_match (CosNotifyFilter::Filter_ptr filter ACE_ENV_ARG_DECL) = 0; + /// Push event to consumer virtual void push (TAO_NS_Consumer* consumer ACE_ENV_ARG_DECL) const = 0; /// Push event to the Event_Forwarder interface virtual void push (Notify_Internal::Event_Forwarder_ptr forwarder ACE_ENV_ARG_DECL) = 0; + + /// Push event to the Event_Forwarder interface + virtual void push_no_filtering (Notify_Internal::Event_Forwarder_ptr forwarder ACE_ENV_ARG_DECL) = 0; }; #if defined (__ACE_INLINE__) |