#include <Properties.h>
Collaboration diagram for TAO_Notify_Properties:
Definition at line 40 of file Properties.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Properties::TAO_Notify_Properties | ( | void | ) |
Constructor.
Definition at line 17 of file Properties.cpp.
References ACE_DEBUG, LM_DEBUG, CORBA::string_dup(), and TAO_debug_level.
00018 : factory_ (0) 00019 , builder_ (0) 00020 , orb_(0) 00021 , dispatching_orb_ (0) 00022 , asynch_updates_ (false) 00023 , allow_reconnect_ (false) 00024 , separate_dispatching_orb_ (false) 00025 , updates_ (1) 00026 { 00027 // In case no conf. file is specified, the EC will default to reactive concurrency. 00028 NotifyExt::ThreadPoolParams tp_params = 00029 {NotifyExt::CLIENT_PROPAGATED,0, 0, 0, 0, 0, 0, 0,0}; 00030 00031 this->ec_qos_.length (1); 00032 this->ec_qos_[0].name = CORBA::string_dup (NotifyExt::ThreadPool); 00033 this->ec_qos_[0].value <<= tp_params; 00034 00035 if (TAO_debug_level > 1) 00036 ACE_DEBUG ((LM_DEBUG, "in TAO_Properties ctos %x\n", this)); 00037 }
TAO_Notify_Properties::~TAO_Notify_Properties | ( | ) |
ACE_INLINE void TAO_Notify_Properties::allow_reconnect | ( | bool | b | ) |
Definition at line 86 of file Properties.inl.
References allow_reconnect_.
00087 { 00088 this->allow_reconnect_ = b; 00089 }
ACE_INLINE bool TAO_Notify_Properties::allow_reconnect | ( | void | ) |
Definition at line 80 of file Properties.inl.
References allow_reconnect_.
Referenced by TAO_Notify_ProxySupplier::connect(), TAO_Notify_ProxyConsumer::connect(), and TAO_CosNotify_Service::init().
00081 { 00082 return this->allow_reconnect_; 00083 }
ACE_INLINE void TAO_Notify_Properties::asynch_updates | ( | CORBA::Boolean | asynch_updates | ) |
Definition at line 74 of file Properties.inl.
References asynch_updates_.
00075 { 00076 this->asynch_updates_ = asynch_updates; 00077 }
ACE_INLINE CORBA::Boolean TAO_Notify_Properties::asynch_updates | ( | void | ) |
Definition at line 68 of file Properties.inl.
References asynch_updates_.
Referenced by TAO_CosNotify_Service::init().
00069 { 00070 return this->asynch_updates_; 00071 }
ACE_INLINE void TAO_Notify_Properties::builder | ( | TAO_Notify_Builder * | builder | ) |
ACE_INLINE TAO_Notify_Builder * TAO_Notify_Properties::builder | ( | void | ) |
Definition at line 20 of file Properties.inl.
References builder_.
Referenced by builder(), TAO_Notify_EventChannelFactory::create_channel(), TAO_Notify_EventChannel::init(), TAO_CosNotify_Service::init_i(), TAO_CosNotify_Service::init_i2(), TAO_Notify_EventChannelFactory::load_child(), TAO_Notify_EventChannel::load_child(), TAO_Notify_SupplierAdmin::load_proxy(), TAO_Notify_ConsumerAdmin::load_proxy(), TAO_Notify_EventChannel::new_for_consumers(), TAO_Notify_EventChannel::new_for_suppliers(), TAO_Notify_SupplierAdmin::obtain_notification_push_consumer(), TAO_Notify_SupplierAdmin::obtain_notification_push_consumer_with_qos(), TAO_Notify_ConsumerAdmin::obtain_notification_push_supplier(), TAO_Notify_ConsumerAdmin::obtain_notification_push_supplier_with_qos(), TAO_Notify_SupplierAdmin::obtain_push_consumer(), TAO_Notify_ConsumerAdmin::obtain_push_supplier(), and TAO_Notify_Object::set_qos().
00021 { 00022 return this->builder_; 00023 }
void TAO_Notify_Properties::close | ( | void | ) | [static] |
Definition at line 51 of file Properties.cpp.
References TAO_SYNCH_MUTEX.
Referenced by TAO_CosNotify_Service::fini().
00052 { 00053 ACE_Unmanaged_Singleton<TAO_Notify_Properties, 00054 TAO_SYNCH_MUTEX>::close (); 00055 }
ACE_INLINE void TAO_Notify_Properties::default_consumer_admin_qos_properties | ( | const CosNotification::QoSProperties & | ca_qos | ) |
Definition at line 146 of file Properties.inl.
References ca_qos_.
00147 { 00148 this->ca_qos_ = ca_qos; 00149 }
ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_consumer_admin_qos_properties | ( | void | ) |
Definition at line 140 of file Properties.inl.
References ca_qos_.
Referenced by TAO_CosNotify_Service::init(), and TAO_Notify_ConsumerAdmin::init().
00141 { 00142 return this->ca_qos_; 00143 }
ACE_INLINE void TAO_Notify_Properties::default_event_channel_qos_properties | ( | const CosNotification::QoSProperties & | ec_qos | ) |
Definition at line 122 of file Properties.inl.
References ec_qos_.
00123 { 00124 this->ec_qos_ = ec_qos; 00125 }
ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_event_channel_qos_properties | ( | void | ) |
Definition at line 116 of file Properties.inl.
References ec_qos_.
Referenced by TAO_Notify_EventChannel::init(), and TAO_CosNotify_Service::init().
00117 { 00118 return this->ec_qos_; 00119 }
ACE_INLINE void TAO_Notify_Properties::default_poa | ( | PortableServer::POA_ptr | default_poa | ) |
Definition at line 62 of file Properties.inl.
References default_poa_.
00063 { 00064 this->default_poa_ = PortableServer::POA::_duplicate (default_poa); 00065 }
ACE_INLINE PortableServer::POA_ptr TAO_Notify_Properties::default_poa | ( | void | ) |
Definition at line 56 of file Properties.inl.
Referenced by TAO_Notify_RT_Builder::apply_lane_concurrency(), TAO_Notify_RT_Builder::apply_thread_pool_concurrency(), TAO_Notify_EventChannelFactory::destroy(), and TAO_Notify_EventChannel::init().
ACE_INLINE void TAO_Notify_Properties::default_proxy_consumer_qos_properties | ( | const CosNotification::QoSProperties & | pc_qos | ) |
Definition at line 170 of file Properties.inl.
References pc_qos_.
00171 { 00172 this->pc_qos_ = pc_qos; 00173 }
ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_proxy_consumer_qos_properties | ( | void | ) |
Definition at line 164 of file Properties.inl.
References pc_qos_.
Referenced by TAO_Notify_ProxyConsumer::init(), and TAO_CosNotify_Service::init().
00165 { 00166 return this->pc_qos_; 00167 }
ACE_INLINE void TAO_Notify_Properties::default_proxy_supplier_qos_properties | ( | const CosNotification::QoSProperties & | ps_qos | ) |
Definition at line 158 of file Properties.inl.
References ps_qos_.
00159 { 00160 this->ps_qos_ = ps_qos; 00161 }
ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_proxy_supplier_qos_properties | ( | void | ) |
Definition at line 152 of file Properties.inl.
References ps_qos_.
Referenced by TAO_Notify_ProxySupplier::init(), and TAO_CosNotify_Service::init().
00153 { 00154 return this->ps_qos_; 00155 }
ACE_INLINE void TAO_Notify_Properties::default_supplier_admin_qos_properties | ( | const CosNotification::QoSProperties & | sa_qos | ) |
Definition at line 134 of file Properties.inl.
References sa_qos_.
00135 { 00136 this->sa_qos_ = sa_qos; 00137 }
ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_supplier_admin_qos_properties | ( | void | ) |
Definition at line 128 of file Properties.inl.
References sa_qos_.
Referenced by TAO_Notify_SupplierAdmin::init(), and TAO_CosNotify_Service::init().
00129 { 00130 return this->sa_qos_; 00131 }
ACE_INLINE void TAO_Notify_Properties::dispatching_orb | ( | CORBA::ORB_ptr | dispatching_orb | ) |
Definition at line 50 of file Properties.inl.
References CORBA::ORB::_duplicate(), dispatching_orb(), and dispatching_orb_.
00051 { 00052 dispatching_orb_ = CORBA::ORB::_duplicate (dispatching_orb); 00053 }
ACE_INLINE CORBA::ORB_ptr TAO_Notify_Properties::dispatching_orb | ( | void | ) |
Definition at line 38 of file Properties.inl.
References CORBA::ORB::_duplicate(), dispatching_orb_, and TAO_Pseudo_Var_T< T >::in().
Referenced by dispatching_orb(), TAO_CosNotify_Service::fini(), TAO_Notify_StructuredPushConsumer::init(), TAO_Notify_SequencePushConsumer::init(), TAO_Notify_PushConsumer::init(), and TAO_CosNotify_Service::init_service().
00039 { 00040 return CORBA::ORB::_duplicate (dispatching_orb_.in ()); 00041 }
ACE_INLINE void TAO_Notify_Properties::factory | ( | TAO_Notify_Factory * | factory | ) |
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_Notify_Factory * TAO_Notify_Properties::factory | ( | void | ) |
Definition at line 8 of file Properties.inl.
References factory_.
Referenced by TAO_Notify_Proxy_Builder_T< PROXY_IMPL, PROXY, PROXY_PTR, PROXY_VAR, PARENT >::build(), TAO_Notify_Builder::build_consumer_admin(), TAO_Notify_Builder::build_event_channel(), TAO_Notify_Builder::build_event_channel_factory(), TAO_Notify_Builder::build_supplier_admin(), factory(), TAO_Notify_Event_Map_Entry_T< PROXY >::init(), TAO_Notify_Container_T< TYPE >::init(), TAO_CosNotify_Service::init_i(), and TAO_CosNotify_Service::init_i2().
00009 { 00010 return this->factory_; 00011 }
TAO_Notify_Properties * TAO_Notify_Properties::instance | ( | void | ) | [static] |
Return a singleton instance of this class.
Definition at line 44 of file Properties.cpp.
References TAO_SYNCH_MUTEX.
Referenced by TAO_Notify_RT_Builder::apply_lane_concurrency(), TAO_Notify_RT_Builder::apply_thread_pool_concurrency(), TAO_Notify_Proxy_Builder_T< PROXY_IMPL, PROXY, PROXY_PTR, PROXY_VAR, PARENT >::build(), TAO_Notify_Builder::build_consumer_admin(), TAO_Notify_Builder::build_event_channel(), TAO_Notify_Builder::build_event_channel_factory(), TAO_Notify_Builder::build_supplier_admin(), TAO_Notify_ProxySupplier::connect(), TAO_Notify_ProxyConsumer::connect(), TAO_Notify_EventChannelFactory::create_channel(), TAO_Notify_EventChannelFactory::destroy(), TAO_CosNotify_Service::fini(), TAO_Notify_StructuredPushSupplier::get_ior(), TAO_Notify_StructuredPushConsumer::get_ior(), TAO_Notify_SequencePushSupplier::get_ior(), TAO_Notify_SequencePushConsumer::get_ior(), TAO_Notify_PushSupplier::get_ior(), TAO_Notify_PushConsumer::get_ior(), TAO_Notify_ThreadPool_Task::init(), TAO_Notify_SupplierAdmin::init(), TAO_Notify_StructuredPushConsumer::init(), TAO_Notify_SequencePushConsumer::init(), TAO_Notify_PushConsumer::init(), TAO_Notify_ProxySupplier::init(), TAO_Notify_ProxyConsumer::init(), TAO_Notify_EventChannel::init(), TAO_Notify_Event_Map_Entry_T< PROXY >::init(), TAO_CosNotify_Service::init(), TAO_Notify_Container_T< TYPE >::init(), TAO_Notify_ConsumerAdmin::init(), TAO_CosNotify_Service::init_i(), TAO_CosNotify_Service::init_i2(), TAO_CosNotify_Service::init_service(), TAO_Notify_StructuredProxyPushSupplier::load_attrs(), TAO_Notify_StructuredProxyPushConsumer::load_attrs(), TAO_Notify_SequenceProxyPushSupplier::load_attrs(), TAO_Notify_SequenceProxyPushConsumer::load_attrs(), TAO_Notify_ProxyPushSupplier::load_attrs(), TAO_Notify_ProxyPushConsumer::load_attrs(), TAO_Notify_FilterAdmin::load_child(), TAO_Notify_EventChannelFactory::load_child(), TAO_Notify_EventChannel::load_child(), TAO_Notify_SupplierAdmin::load_proxy(), TAO_Notify_ConsumerAdmin::load_proxy(), TAO_Notify_EventChannel::new_for_consumers(), TAO_Notify_EventChannel::new_for_suppliers(), TAO_Notify_SupplierAdmin::obtain_notification_push_consumer(), TAO_Notify_SupplierAdmin::obtain_notification_push_consumer_with_qos(), TAO_Notify_ConsumerAdmin::obtain_notification_push_supplier(), TAO_Notify_ConsumerAdmin::obtain_notification_push_supplier_with_qos(), TAO_Notify_SupplierAdmin::obtain_push_consumer(), TAO_Notify_ConsumerAdmin::obtain_push_supplier(), TAO_Notify_FilterAdmin::save_persistent(), TAO_Notify::Reconnection_Registry::send_reconnect(), TAO_Notify_Object::set_qos(), TAO_Notify_Timer_Reactor::TAO_Notify_Timer_Reactor(), and TAO_Notify_Proxy::types_changed().
00045 { 00046 return ACE_Unmanaged_Singleton<TAO_Notify_Properties, 00047 TAO_SYNCH_MUTEX>::instance (); 00048 }
ACE_INLINE void TAO_Notify_Properties::orb | ( | CORBA::ORB_ptr | orb | ) |
Definition at line 44 of file Properties.inl.
References CORBA::ORB::_duplicate(), orb(), and orb_.
00045 { 00046 orb_ = CORBA::ORB::_duplicate (orb); 00047 }
ACE_INLINE CORBA::ORB_ptr TAO_Notify_Properties::orb | ( | void | ) |
Definition at line 32 of file Properties.inl.
References CORBA::ORB::_duplicate(), TAO_Pseudo_Var_T< T >::in(), and orb_.
Referenced by TAO_Notify_EventChannelFactory::destroy(), TAO_Notify_StructuredPushSupplier::get_ior(), TAO_Notify_StructuredPushConsumer::get_ior(), TAO_Notify_SequencePushSupplier::get_ior(), TAO_Notify_SequencePushConsumer::get_ior(), TAO_Notify_PushSupplier::get_ior(), TAO_Notify_PushConsumer::get_ior(), TAO_Notify_ThreadPool_Task::init(), TAO_Notify_StructuredPushConsumer::init(), TAO_Notify_SequencePushConsumer::init(), TAO_Notify_PushConsumer::init(), TAO_Notify_StructuredProxyPushSupplier::load_attrs(), TAO_Notify_StructuredProxyPushConsumer::load_attrs(), TAO_Notify_SequenceProxyPushSupplier::load_attrs(), TAO_Notify_SequenceProxyPushConsumer::load_attrs(), TAO_Notify_ProxyPushSupplier::load_attrs(), TAO_Notify_ProxyPushConsumer::load_attrs(), TAO_Notify_FilterAdmin::load_child(), orb(), TAO_Notify_FilterAdmin::save_persistent(), TAO_Notify::Reconnection_Registry::send_reconnect(), and TAO_Notify_Timer_Reactor::TAO_Notify_Timer_Reactor().
00033 { 00034 return CORBA::ORB::_duplicate (orb_.in ()); 00035 }
ACE_INLINE void TAO_Notify_Properties::separate_dispatching_orb | ( | bool | b | ) |
Definition at line 98 of file Properties.inl.
References separate_dispatching_orb_.
00099 { 00100 this->separate_dispatching_orb_ = b; 00101 }
ACE_INLINE bool TAO_Notify_Properties::separate_dispatching_orb | ( | void | ) |
Definition at line 92 of file Properties.inl.
References separate_dispatching_orb_.
Referenced by TAO_CosNotify_Service::init().
00093 { 00094 return this->separate_dispatching_orb_; 00095 }
ACE_INLINE void TAO_Notify_Properties::updates | ( | CORBA::Boolean | updates | ) |
ACE_INLINE CORBA::Boolean TAO_Notify_Properties::updates | ( | void | ) |
Definition at line 104 of file Properties.inl.
References updates_.
Referenced by TAO_CosNotify_Service::init(), and TAO_Notify_Proxy::types_changed().
00105 { 00106 return this->updates_; 00107 }
bool TAO_Notify_Properties::allow_reconnect_ [protected] |
True if clients can reconnect to proxies.
Definition at line 131 of file Properties.h.
Referenced by allow_reconnect().
CORBA::Boolean TAO_Notify_Properties::asynch_updates_ [protected] |
True if send asynch updates.
Definition at line 128 of file Properties.h.
Referenced by asynch_updates().
TAO_Notify_Builder* TAO_Notify_Properties::builder_ [protected] |
The default CA QoS Properties.
Definition at line 149 of file Properties.h.
Referenced by default_consumer_admin_qos_properties().
The default EC QoS Properties.
Definition at line 143 of file Properties.h.
Referenced by default_event_channel_qos_properties().
TAO_Notify_Factory* TAO_Notify_Properties::factory_ [protected] |
CORBA::ORB_var TAO_Notify_Properties::orb_ [protected] |
The default PC QoS Properties.
Definition at line 155 of file Properties.h.
Referenced by default_proxy_consumer_qos_properties().
The default PS QoS Properties.
Definition at line 152 of file Properties.h.
Referenced by default_proxy_supplier_qos_properties().
The default SA QoS Properties.
Definition at line 146 of file Properties.h.
Referenced by default_supplier_admin_qos_properties().
bool TAO_Notify_Properties::separate_dispatching_orb_ [protected] |
True is separate dispatching orb.
Definition at line 134 of file Properties.h.
Referenced by separate_dispatching_orb().
ACE_Time_Value TAO_Notify_Properties::update_period_ [protected] |
CORBA::Boolean TAO_Notify_Properties::updates_ [protected] |
True if updates are enabled (default).
Definition at line 137 of file Properties.h.
Referenced by updates().