Public Member Functions | Static Public Member Functions | Protected Attributes

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)
 Constructor.
 ~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)
CORBA::ORB_ptr dispatching_orb (void)
void dispatching_orb (CORBA::ORB_ptr dispatching_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)
bool validate_client (void)
void validate_client (bool b)
ACE_Time_Value validate_client_delay (void)
void validate_client_delay (ACE_Time_Value b)
ACE_Time_Value validate_client_interval (void)
void validate_client_interval (ACE_Time_Value b)
CORBA::Boolean updates (void)
void updates (CORBA::Boolean updates)
bool separate_dispatching_orb (void)
void separate_dispatching_orb (bool b)
const
CosNotification::QoSProperties
default_event_channel_qos_properties (void)
void default_event_channel_qos_properties (const CosNotification::QoSProperties &ec_qos)
const
CosNotification::QoSProperties
default_supplier_admin_qos_properties (void)
void default_supplier_admin_qos_properties (const CosNotification::QoSProperties &sa_qos)
const
CosNotification::QoSProperties
default_consumer_admin_qos_properties (void)
void default_consumer_admin_qos_properties (const CosNotification::QoSProperties &ca_qos)
const
CosNotification::QoSProperties
default_proxy_supplier_qos_properties (void)
void default_proxy_supplier_qos_properties (const CosNotification::QoSProperties &ps_qos)
const
CosNotification::QoSProperties
default_proxy_consumer_qos_properties (void)
void default_proxy_consumer_qos_properties (const CosNotification::QoSProperties &pc_qos)
CosNotifyChannelAdmin::InterFilterGroupOperator defaultConsumerAdminFilterOp (void)
void defaultConsumerAdminFilterOp (CosNotifyChannelAdmin::InterFilterGroupOperator op)
CosNotifyChannelAdmin::InterFilterGroupOperator defaultSupplierAdminFilterOp (void)
void defaultSupplierAdminFilterOp (CosNotifyChannelAdmin::InterFilterGroupOperator op)

Static Public Member Functions

static TAO_Notify_Propertiesinstance (void)
 Return a singleton instance of this class.
static void close (void)

Protected Attributes

TAO_Notify_Factoryfactory_
 Object Factory.
TAO_Notify_Builderbuilder_
 Object Builder.
CORBA::ORB_var orb_
 ORB.
CORBA::ORB_var dispatching_orb_
 dispatching orb
PortableServer::POA_var default_poa_
 POA.
CORBA::Boolean asynch_updates_
 True if send asynch updates.
bool allow_reconnect_
 True if clients can reconnect to proxies.
bool validate_client_
ACE_Time_Value validate_client_delay_
ACE_Time_Value validate_client_interval_
bool separate_dispatching_orb_
 True is separate dispatching orb.
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.
CosNotifyChannelAdmin::InterFilterGroupOperator defaultConsumerAdminFilterOp_
 The default consumer admin filter operator.
CosNotifyChannelAdmin::InterFilterGroupOperator defaultSupplierAdminFilterOp_
 The default supplier admin filter operator.

Detailed Description

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

Definition at line 41 of file Properties.h.


Constructor & Destructor Documentation

TAO_Notify_Properties::TAO_Notify_Properties ( void   ) 

Constructor.

Definition at line 17 of file Properties.cpp.

  : factory_ (0)
  , builder_ (0)
  , orb_(0)
  , dispatching_orb_ (0)
  , asynch_updates_ (false)
  , allow_reconnect_ (false)
  , validate_client_ (false)
  , separate_dispatching_orb_ (false)
  , updates_ (1)
  , defaultConsumerAdminFilterOp_ (CosNotifyChannelAdmin::OR_OP)
  , defaultSupplierAdminFilterOp_ (CosNotifyChannelAdmin::OR_OP)
{
  // In case no conf. file is specified, the EC will default to reactive concurrency.
  NotifyExt::ThreadPoolParams tp_params =
    {NotifyExt::CLIENT_PROPAGATED,0, 0, 0, 0, 0, 0, 0,0};

  this->ec_qos_.length (1);
  this->ec_qos_[0].name = CORBA::string_dup (NotifyExt::ThreadPool);
  this->ec_qos_[0].value <<= tp_params;

  if (TAO_debug_level > 1)
    ACE_DEBUG ((LM_DEBUG, "in TAO_Properties ctos %x\n", this));
}

TAO_Notify_Properties::~TAO_Notify_Properties (  ) 

Destructor.

Definition at line 42 of file Properties.cpp.

{
}


Member Function Documentation

bool TAO_Notify_Properties::allow_reconnect ( void   ) 

Definition at line 80 of file Properties.inl.

{
  return this->allow_reconnect_;
}

void TAO_Notify_Properties::allow_reconnect ( bool  b  ) 

Definition at line 86 of file Properties.inl.

{
  this->allow_reconnect_ = b;
}

CORBA::Boolean TAO_Notify_Properties::asynch_updates ( void   ) 

Definition at line 68 of file Properties.inl.

{
  return this->asynch_updates_;
}

void TAO_Notify_Properties::asynch_updates ( CORBA::Boolean  asynch_updates  ) 

Definition at line 74 of file Properties.inl.

{
  this->asynch_updates_ = asynch_updates;
}

void TAO_Notify_Properties::builder ( TAO_Notify_Builder builder  ) 

Definition at line 26 of file Properties.inl.

{
  this->builder_ = builder;
}

TAO_Notify_Builder * TAO_Notify_Properties::builder ( void   ) 

Definition at line 20 of file Properties.inl.

{
  return this->builder_;
}

void TAO_Notify_Properties::close ( void   )  [static]
void TAO_Notify_Properties::default_consumer_admin_qos_properties ( const CosNotification::QoSProperties ca_qos  ) 

Definition at line 183 of file Properties.inl.

{
  this->ca_qos_ = ca_qos;
}

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

Definition at line 177 of file Properties.inl.

{
  return this->ca_qos_;
}

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

Definition at line 153 of file Properties.inl.

{
  return this->ec_qos_;
}

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

Definition at line 159 of file Properties.inl.

{
  this->ec_qos_ = ec_qos;
}

PortableServer::POA_ptr TAO_Notify_Properties::default_poa ( void   ) 

Definition at line 56 of file Properties.inl.

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

void TAO_Notify_Properties::default_poa ( PortableServer::POA_ptr  default_poa  ) 

Definition at line 62 of file Properties.inl.

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

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

Definition at line 201 of file Properties.inl.

{
  return this->pc_qos_;
}

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

Definition at line 207 of file Properties.inl.

{
  this->pc_qos_ = pc_qos;
}

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

Definition at line 189 of file Properties.inl.

{
  return this->ps_qos_;
}

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

Definition at line 195 of file Properties.inl.

{
  this->ps_qos_ = ps_qos;
}

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

Definition at line 165 of file Properties.inl.

{
  return this->sa_qos_;
}

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

Definition at line 171 of file Properties.inl.

{
  this->sa_qos_ = sa_qos;
}

CosNotifyChannelAdmin::InterFilterGroupOperator TAO_Notify_Properties::defaultConsumerAdminFilterOp ( void   ) 

Definition at line 213 of file Properties.inl.

void TAO_Notify_Properties::defaultConsumerAdminFilterOp ( CosNotifyChannelAdmin::InterFilterGroupOperator  op  ) 

Definition at line 219 of file Properties.inl.

void TAO_Notify_Properties::defaultSupplierAdminFilterOp ( CosNotifyChannelAdmin::InterFilterGroupOperator  op  ) 

Definition at line 232 of file Properties.inl.

CosNotifyChannelAdmin::InterFilterGroupOperator TAO_Notify_Properties::defaultSupplierAdminFilterOp ( void   ) 

Definition at line 226 of file Properties.inl.

CORBA::ORB_ptr TAO_Notify_Properties::dispatching_orb ( void   ) 

Definition at line 38 of file Properties.inl.

void TAO_Notify_Properties::dispatching_orb ( CORBA::ORB_ptr  dispatching_orb  ) 

Definition at line 50 of file Properties.inl.

{
  dispatching_orb_ = CORBA::ORB::_duplicate (dispatching_orb);
}

void TAO_Notify_Properties::factory ( TAO_Notify_Factory factory  ) 

Definition at line 14 of file Properties.inl.

{
  this->factory_ = factory;
}

TAO_Notify_Factory * TAO_Notify_Properties::factory ( void   ) 

Definition at line 8 of file Properties.inl.

{
  return this->factory_;
}

TAO_Notify_Properties * TAO_Notify_Properties::instance ( void   )  [static]

Return a singleton instance of this class.

Definition at line 47 of file Properties.cpp.

CORBA::ORB_ptr TAO_Notify_Properties::orb ( void   ) 

Definition at line 32 of file Properties.inl.

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

void TAO_Notify_Properties::orb ( CORBA::ORB_ptr  orb  ) 

Definition at line 44 of file Properties.inl.

bool TAO_Notify_Properties::separate_dispatching_orb ( void   ) 

Definition at line 129 of file Properties.inl.

{
  return this->separate_dispatching_orb_;
}

void TAO_Notify_Properties::separate_dispatching_orb ( bool  b  ) 

Definition at line 135 of file Properties.inl.

CORBA::Boolean TAO_Notify_Properties::updates ( void   ) 

Definition at line 141 of file Properties.inl.

{
  return this->updates_;
}

void TAO_Notify_Properties::updates ( CORBA::Boolean  updates  ) 

Definition at line 147 of file Properties.inl.

{
  this->updates_ = updates;
}

void TAO_Notify_Properties::validate_client ( bool  b  ) 

Definition at line 98 of file Properties.inl.

{
  this->validate_client_ = b;
}

bool TAO_Notify_Properties::validate_client ( void   ) 

Definition at line 92 of file Properties.inl.

{
  return this->validate_client_;
}

ACE_Time_Value TAO_Notify_Properties::validate_client_delay ( void   ) 

Definition at line 104 of file Properties.inl.

{
  return this->validate_client_delay_;
}

void TAO_Notify_Properties::validate_client_delay ( ACE_Time_Value  b  ) 

Definition at line 110 of file Properties.inl.

{
  this->validate_client_delay_ = b;
}

void TAO_Notify_Properties::validate_client_interval ( ACE_Time_Value  b  ) 

Definition at line 122 of file Properties.inl.

ACE_Time_Value TAO_Notify_Properties::validate_client_interval ( void   ) 

Definition at line 116 of file Properties.inl.

{
  return this->validate_client_interval_;
}


Member Data Documentation

True if clients can reconnect to proxies.

Definition at line 144 of file Properties.h.

True if send asynch updates.

Definition at line 141 of file Properties.h.

Object Builder.

Definition at line 129 of file Properties.h.

The default CA QoS Properties.

Definition at line 165 of file Properties.h.

POA.

Definition at line 138 of file Properties.h.

The default consumer admin filter operator.

Definition at line 174 of file Properties.h.

The default supplier admin filter operator.

Definition at line 177 of file Properties.h.

dispatching orb

Definition at line 135 of file Properties.h.

The default EC QoS Properties.

Definition at line 159 of file Properties.h.

Object Factory.

Definition at line 126 of file Properties.h.

ORB.

Definition at line 132 of file Properties.h.

The default PC QoS Properties.

Definition at line 171 of file Properties.h.

The default PS QoS Properties.

Definition at line 168 of file Properties.h.

The default SA QoS Properties.

Definition at line 162 of file Properties.h.

True is separate dispatching orb.

Definition at line 150 of file Properties.h.

The Update period for updates.

Definition at line 156 of file Properties.h.

True if updates are enabled (default).

Definition at line 153 of file Properties.h.

Definition at line 145 of file Properties.h.

Definition at line 146 of file Properties.h.

Definition at line 147 of file Properties.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines