00001 // -*- C++ -*- 00002 // 00003 // $Id: Proxy.inl 85524 2009-06-05 14:35:28Z johnnyw $ 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE CORBA::Boolean 00008 TAO_Notify_Proxy::updates_off (void) 00009 { 00010 return this->updates_off_; 00011 } 00012 00013 ACE_INLINE CORBA::Boolean 00014 TAO_Notify_Proxy::check_filters (const TAO_Notify_Event* event 00015 , TAO_Notify_FilterAdmin& parent_filter_admin 00016 , CosNotifyChannelAdmin::InterFilterGroupOperator filter_operator) 00017 { 00018 // check if it passes the parent filter. 00019 CORBA::Boolean const parent_val = 00020 parent_filter_admin.match (event); 00021 00022 CORBA::Boolean val = false; 00023 00024 if (filter_operator == CosNotifyChannelAdmin::AND_OP) 00025 { 00026 val = parent_val && this->filter_admin_.match (event); 00027 } 00028 else 00029 { 00030 val = parent_val || this->filter_admin_.match (event); 00031 } 00032 00033 return val; 00034 } 00035 00036 TAO_END_VERSIONED_NAMESPACE_DECL