TAO_Notify_Properties Class Reference

Global properties that strategize Notify's run-time behaviour. More...

#include <Properties.h>

Collaboration diagram for TAO_Notify_Properties:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Notify_Properties (void)
 Constuctor.

 ~TAO_Notify_Properties ()
 Destructor.

TAO_Notify_Factoryfactory (void)
void factory (TAO_Notify_Factory *factory)
TAO_Notify_Builderbuilder (void)
void builder (TAO_Notify_Builder *builder)
CORBA::ORB_ptr orb (void)
void orb (CORBA::ORB_ptr orb)
PortableServer::POA_ptr default_poa (void)
void default_poa (PortableServer::POA_ptr default_poa)
CORBA::Boolean asynch_updates (void)
void asynch_updates (CORBA::Boolean asynch_updates)
bool allow_reconnect (void)
void allow_reconnect (bool b)
CORBA::Boolean updates (void)
void updates (CORBA::Boolean updates)
const CosNotification::QoSPropertiesdefault_event_channel_qos_properties (void)
void default_event_channel_qos_properties (const CosNotification::QoSProperties &ec_qos)
const CosNotification::QoSPropertiesdefault_supplier_admin_qos_properties (void)
void default_supplier_admin_qos_properties (const CosNotification::QoSProperties &sa_qos)
const CosNotification::QoSPropertiesdefault_consumer_admin_qos_properties (void)
void default_consumer_admin_qos_properties (const CosNotification::QoSProperties &ca_qos)
const CosNotification::QoSPropertiesdefault_proxy_supplier_qos_properties (void)
void default_proxy_supplier_qos_properties (const CosNotification::QoSProperties &ps_qos)
const CosNotification::QoSPropertiesdefault_proxy_consumer_qos_properties (void)
void default_proxy_consumer_qos_properties (const CosNotification::QoSProperties &pc_qos)

Protected Attributes

TAO_Notify_Factoryfactory_
 Object Factory.

TAO_Notify_Builderbuilder_
 Object Builder.

CORBA::ORB_var orb_
 ORB.

PortableServer::POA_var default_poa_
CORBA::Boolean asynch_updates_
 True if send asynch updates.

bool allow_reconnect_
 True if clients can reconnect to proxies.

CORBA::Boolean updates_
 True if updates are enabled (default).

ACE_Time_Value update_period_
 The Update period for updates.

CosNotification::QoSProperties ec_qos_
 The default EC QoS Properties.

CosNotification::QoSProperties sa_qos_
 The default SA QoS Properties.

CosNotification::QoSProperties ca_qos_
 The default CA QoS Properties.

CosNotification::QoSProperties ps_qos_
 The default PS QoS Properties.

CosNotification::QoSProperties pc_qos_
 The default PC QoS Properties.


Detailed Description

Global properties that strategize Notify's run-time behaviour.

Definition at line 40 of file Properties.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Properties::TAO_Notify_Properties void   ) 
 

Constuctor.

Definition at line 17 of file Properties.cpp.

References ACE_DEBUG, ec_qos_, LM_DEBUG, CORBA::string_dup(), and TAO_debug_level.

00018   : factory_ (0)
00019   , builder_ (0)
00020   , asynch_updates_ (0)
00021   , allow_reconnect_ (false)
00022   , updates_ (1)
00023 {
00024   // In case no conf. file is specified, the EC will default to reactive concurrency.
00025   NotifyExt::ThreadPoolParams tp_params =
00026     {NotifyExt::CLIENT_PROPAGATED,0, 0, 0, 0, 0, 0, 0,0};
00027 
00028   this->ec_qos_.length (1);
00029   this->ec_qos_[0].name = CORBA::string_dup (NotifyExt::ThreadPool);
00030   this->ec_qos_[0].value <<= tp_params;
00031 
00032   if (TAO_debug_level > 1)
00033     ACE_DEBUG ((LM_DEBUG, "in TAO_Properties ctos %x\n", this));
00034 }

TAO_Notify_Properties::~TAO_Notify_Properties  ) 
 

Destructor.

Definition at line 36 of file Properties.cpp.

00037 {
00038 }


Member Function Documentation

ACE_INLINE void TAO_Notify_Properties::allow_reconnect bool  b  ) 
 

Definition at line 74 of file Properties.inl.

References allow_reconnect_.

00075 {
00076   this->allow_reconnect_ = b;
00077 }

ACE_INLINE bool TAO_Notify_Properties::allow_reconnect void   ) 
 

Definition at line 68 of file Properties.inl.

References allow_reconnect_.

00069 {
00070   return this->allow_reconnect_;
00071 }

ACE_INLINE void TAO_Notify_Properties::asynch_updates CORBA::Boolean  asynch_updates  ) 
 

Definition at line 62 of file Properties.inl.

References asynch_updates_.

00063 {
00064   this->asynch_updates_ = asynch_updates;
00065 }

ACE_INLINE CORBA::Boolean TAO_Notify_Properties::asynch_updates void   ) 
 

Definition at line 56 of file Properties.inl.

References asynch_updates_.

Referenced by TAO_CosNotify_Service::init().

00057 {
00058   return this->asynch_updates_;
00059 }

ACE_INLINE void TAO_Notify_Properties::builder TAO_Notify_Builder builder  ) 
 

Definition at line 26 of file Properties.inl.

00027 {
00028   this->builder_ = builder;
00029 }

ACE_INLINE TAO_Notify_Builder * TAO_Notify_Properties::builder void   ) 
 

Definition at line 20 of file Properties.inl.

00021 {
00022   return this->builder_;
00023 }

ACE_INLINE void TAO_Notify_Properties::default_consumer_admin_qos_properties const CosNotification::QoSProperties ca_qos  ) 
 

Definition at line 122 of file Properties.inl.

References ca_qos_, and CosNotification::QoSProperties.

00123 {
00124   this->ca_qos_ = ca_qos;
00125 }

ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_consumer_admin_qos_properties void   ) 
 

Definition at line 116 of file Properties.inl.

References ca_qos_.

Referenced by TAO_CosNotify_Service::init().

00117 {
00118   return this->ca_qos_;
00119 }

ACE_INLINE void TAO_Notify_Properties::default_event_channel_qos_properties const CosNotification::QoSProperties ec_qos  ) 
 

Definition at line 98 of file Properties.inl.

References ec_qos_, and CosNotification::QoSProperties.

00099 {
00100   this->ec_qos_ = ec_qos;
00101 }

ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_event_channel_qos_properties void   ) 
 

Definition at line 92 of file Properties.inl.

References ec_qos_.

Referenced by TAO_CosNotify_Service::init().

00093 {
00094   return this->ec_qos_;
00095 }

ACE_INLINE void TAO_Notify_Properties::default_poa PortableServer::POA_ptr  default_poa  ) 
 

Definition at line 50 of file Properties.inl.

References default_poa_.

00051 {
00052   this->default_poa_ = PortableServer::POA::_duplicate (default_poa);
00053 }

ACE_INLINE PortableServer::POA_ptr TAO_Notify_Properties::default_poa void   ) 
 

Definition at line 44 of file Properties.inl.

Referenced by TAO_Notify_EventChannelFactory::destroy(), and TAO_CosNotify_Service::init_i().

00045 {
00046   return PortableServer::POA::_duplicate (this->default_poa_.in ());
00047 }

ACE_INLINE void TAO_Notify_Properties::default_proxy_consumer_qos_properties const CosNotification::QoSProperties pc_qos  ) 
 

Definition at line 146 of file Properties.inl.

References pc_qos_, and CosNotification::QoSProperties.

00147 {
00148   this->pc_qos_ = pc_qos;
00149 }

ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_proxy_consumer_qos_properties void   ) 
 

Definition at line 140 of file Properties.inl.

References pc_qos_.

Referenced by TAO_CosNotify_Service::init().

00141 {
00142   return this->pc_qos_;
00143 }

ACE_INLINE void TAO_Notify_Properties::default_proxy_supplier_qos_properties const CosNotification::QoSProperties ps_qos  ) 
 

Definition at line 134 of file Properties.inl.

References ps_qos_, and CosNotification::QoSProperties.

00135 {
00136   this->ps_qos_ = ps_qos;
00137 }

ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_proxy_supplier_qos_properties void   ) 
 

Definition at line 128 of file Properties.inl.

References ps_qos_.

Referenced by TAO_CosNotify_Service::init().

00129 {
00130   return this->ps_qos_;
00131 }

ACE_INLINE void TAO_Notify_Properties::default_supplier_admin_qos_properties const CosNotification::QoSProperties sa_qos  ) 
 

Definition at line 110 of file Properties.inl.

References CosNotification::QoSProperties, and sa_qos_.

00111 {
00112   this->sa_qos_ = sa_qos;
00113 }

ACE_INLINE const CosNotification::QoSProperties & TAO_Notify_Properties::default_supplier_admin_qos_properties void   ) 
 

Definition at line 104 of file Properties.inl.

References sa_qos_.

Referenced by TAO_CosNotify_Service::init().

00105 {
00106   return this->sa_qos_;
00107 }

ACE_INLINE void TAO_Notify_Properties::factory TAO_Notify_Factory factory  ) 
 

Definition at line 14 of file Properties.inl.

00015 {
00016   this->factory_ = factory;
00017 }

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_Notify_Factory * TAO_Notify_Properties::factory void   ) 
 

Definition at line 8 of file Properties.inl.

00009 {
00010   return this->factory_;
00011 }

ACE_INLINE void TAO_Notify_Properties::orb CORBA::ORB_ptr  orb  ) 
 

Definition at line 38 of file Properties.inl.

References CORBA::ORB::_duplicate().

00039 {
00040   orb_ = CORBA::ORB::_duplicate (orb);
00041 }

ACE_INLINE CORBA::ORB_ptr TAO_Notify_Properties::orb void   ) 
 

Definition at line 32 of file Properties.inl.

References CORBA::ORB::_duplicate().

Referenced by TAO_Notify_EventChannelFactory::destroy(), TAO_CosNotify_Service::init_i(), TAO_Notify_FilterAdmin::load_child(), TAO_Notify::Reconnection_Registry::register_callback(), TAO_Notify_FilterAdmin::save_persistent(), and TAO_Notify::Reconnection_Registry::send_reconnect().

00033 {
00034   return CORBA::ORB::_duplicate (orb_.in ());
00035 }

ACE_INLINE void TAO_Notify_Properties::updates CORBA::Boolean  updates  ) 
 

Definition at line 86 of file Properties.inl.

References updates_.

00087 {
00088   this->updates_ = updates;
00089 }

ACE_INLINE CORBA::Boolean TAO_Notify_Properties::updates void   ) 
 

Definition at line 80 of file Properties.inl.

References updates_.

Referenced by TAO_CosNotify_Service::init().

00081 {
00082   return this->updates_;
00083 }


Member Data Documentation

bool TAO_Notify_Properties::allow_reconnect_ [protected]
 

True if clients can reconnect to proxies.

Definition at line 119 of file Properties.h.

Referenced by allow_reconnect().

CORBA::Boolean TAO_Notify_Properties::asynch_updates_ [protected]
 

True if send asynch updates.

Definition at line 116 of file Properties.h.

Referenced by asynch_updates().

TAO_Notify_Builder* TAO_Notify_Properties::builder_ [protected]
 

Object Builder.

Definition at line 107 of file Properties.h.

CosNotification::QoSProperties TAO_Notify_Properties::ca_qos_ [protected]
 

The default CA QoS Properties.

Definition at line 134 of file Properties.h.

Referenced by default_consumer_admin_qos_properties().

PortableServer::POA_var TAO_Notify_Properties::default_poa_ [protected]
 

Definition at line 113 of file Properties.h.

Referenced by default_poa().

CosNotification::QoSProperties TAO_Notify_Properties::ec_qos_ [protected]
 

The default EC QoS Properties.

Definition at line 128 of file Properties.h.

Referenced by default_event_channel_qos_properties(), and TAO_Notify_Properties().

TAO_Notify_Factory* TAO_Notify_Properties::factory_ [protected]
 

Object Factory.

Definition at line 104 of file Properties.h.

CORBA::ORB_var TAO_Notify_Properties::orb_ [protected]
 

ORB.

Definition at line 110 of file Properties.h.

CosNotification::QoSProperties TAO_Notify_Properties::pc_qos_ [protected]
 

The default PC QoS Properties.

Definition at line 140 of file Properties.h.

Referenced by default_proxy_consumer_qos_properties().

CosNotification::QoSProperties TAO_Notify_Properties::ps_qos_ [protected]
 

The default PS QoS Properties.

Definition at line 137 of file Properties.h.

Referenced by default_proxy_supplier_qos_properties().

CosNotification::QoSProperties TAO_Notify_Properties::sa_qos_ [protected]
 

The default SA QoS Properties.

Definition at line 131 of file Properties.h.

Referenced by default_supplier_admin_qos_properties().

ACE_Time_Value TAO_Notify_Properties::update_period_ [protected]
 

The Update period for updates.

Definition at line 125 of file Properties.h.

CORBA::Boolean TAO_Notify_Properties::updates_ [protected]
 

True if updates are enabled (default).

Definition at line 122 of file Properties.h.

Referenced by updates().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:32:32 2006 for TAO_CosNotification by doxygen 1.3.6