TAO_EC_Event_Channel_Attributes Class Reference

Defines the construction time attributes for the Event Channel. More...

#include <EC_Event_Channel_Base.h>

List of all members.

Public Member Functions

 TAO_EC_Event_Channel_Attributes (PortableServer::POA_ptr supplier_poa, PortableServer::POA_ptr consumer_poa)

Public Attributes

int consumer_reconnect
 Can consumers or suppliers invoke connect_push_* multiple times?

int supplier_reconnect
int disconnect_callbacks
CORBA::Object_ptr scheduler

Private Attributes

PortableServer::POA_ptr supplier_poa
 The POAs.

PortableServer::POA_ptr consumer_poa

Friends

class TAO_EC_Event_Channel_Base
 Only the EC can read the private fields.


Detailed Description

Defines the construction time attributes for the Event Channel.

The event channel implementation is controlled by two mechanisms: The EC_Factory that provides the strategies for the EC implementation. The EC attributes that define constants and values required by the EC construction. This class encapsulates those constants and values, providing an easy mechanism to extend the attributes without requiring changes in the EC constructor.

Definition at line 53 of file EC_Event_Channel_Base.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_EC_Event_Channel_Attributes::TAO_EC_Event_Channel_Attributes PortableServer::POA_ptr  supplier_poa,
PortableServer::POA_ptr  consumer_poa
 

The basic constructor. The attributes listed as arguments are *required* by the EC, and no appropiate defaults are available for them.

Definition at line 9 of file EC_Event_Channel_Base.i.

References Object, TAO_EC_DEFAULT_CONSUMER_RECONNECT, TAO_EC_DEFAULT_DISCONNECT_CALLBACKS, and TAO_EC_DEFAULT_SUPPLIER_RECONNECT.

00011   :  consumer_reconnect (TAO_EC_DEFAULT_CONSUMER_RECONNECT),
00012      supplier_reconnect (TAO_EC_DEFAULT_SUPPLIER_RECONNECT),
00013      disconnect_callbacks (TAO_EC_DEFAULT_DISCONNECT_CALLBACKS),
00014      scheduler (CORBA::Object::_nil ()),
00015      supplier_poa (s_poa),
00016      consumer_poa (c_poa)
00017 {
00018 }


Friends And Related Function Documentation

friend class TAO_EC_Event_Channel_Base [friend]
 

Only the EC can read the private fields.

Definition at line 91 of file EC_Event_Channel_Base.h.


Member Data Documentation

PortableServer::POA_ptr TAO_EC_Event_Channel_Attributes::consumer_poa [private]
 

Definition at line 95 of file EC_Event_Channel_Base.h.

int TAO_EC_Event_Channel_Attributes::consumer_reconnect
 

Can consumers or suppliers invoke connect_push_* multiple times?

Definition at line 68 of file EC_Event_Channel_Base.h.

int TAO_EC_Event_Channel_Attributes::disconnect_callbacks
 

It not zero the event channel will send disconnect callbacks when a disconnect method is called on a Proxy. In other words, if a consumer calls disconnect_push_supplier() on its proxy the EC will invoke disconnect_push_consumer() on the consumer. A similar thing is done for suppliers. It is a matter of debate what the spec requires for the regular event service.

Definition at line 80 of file EC_Event_Channel_Base.h.

CORBA::Object_ptr TAO_EC_Event_Channel_Attributes::scheduler
 

The scheduling service that we will use with this event channel. Notice that this is optional and will only take effect if the EC is configured with the right filtering strategies.

Definition at line 87 of file EC_Event_Channel_Base.h.

Referenced by TAO_EC_Event_Channel::TAO_EC_Event_Channel(), and TAO_EC_Event_Channel_Base::TAO_EC_Event_Channel_Base().

PortableServer::POA_ptr TAO_EC_Event_Channel_Attributes::supplier_poa [private]
 

The POAs.

Definition at line 94 of file EC_Event_Channel_Base.h.

int TAO_EC_Event_Channel_Attributes::supplier_reconnect
 

Definition at line 69 of file EC_Event_Channel_Base.h.


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