Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TAO_Notify_Admin Class Reference

Base class for the ConsumerAdmin and SupplierAdmin. More...

#include <Admin.h>

Inheritance diagram for TAO_Notify_Admin:

Inheritance graph
Collaboration diagram for TAO_Notify_Admin:

Collaboration graph
List of all members.

Public Types

typedef CosNotifyChannelAdmin::AdminIDSeq SEQ
typedef CosNotifyChannelAdmin::AdminIDSeq_var SEQ_VAR

Public Member Functions

 TAO_Notify_Admin ()
 ~TAO_Notify_Admin ()
void init (TAO_Notify::Topology_Parent *parent ACE_ENV_ARG_DECL)
void insert (TAO_Notify_Proxy *proxy ACE_ENV_ARG_DECL)
 Insert the proxy in the <proxy_container_>.
void remove (TAO_Notify_Proxy *proxy ACE_ENV_ARG_DECL)
 Remove type from container_.
TAO_Notify_FilterAdminfilter_admin (void)
 Access Admin FilterAdmin.
void filter_operator (CosNotifyChannelAdmin::InterFilterGroupOperator filter_operator)
 Set Filter operator.
CosNotifyChannelAdmin::InterFilterGroupOperator filter_operator (void)
 Access Filter operator.
void subscribed_types (TAO_Notify_EventTypeSeq &subscribed_types ACE_ENV_ARG_DECL)
 Obtain the Admin's subscribed types.
TAO_Notify_EventChannelevent_channel () const
virtual int shutdown (ACE_ENV_SINGLE_ARG_DECL)
virtual void save_persistent (TAO_Notify::Topology_Saver &saver ACE_ENV_ARG_DECL)
virtual TAO_Notify::Topology_Objectload_child (const ACE_CString &type, CORBA::Long id, const TAO_Notify::NVPList &attrs ACE_ENV_ARG_DECL)
virtual void reconnect (ACE_ENV_SINGLE_ARG_DECL)
void set_default (bool is_default)
bool is_default () const
virtual void load_attrs (const TAO_Notify::NVPList &attrs)

Protected Types

typedef TAO_Notify_Container_T<

Protected Member Functions

void save_attrs (TAO_Notify::NVPList &attrs)
virtual const char * get_admin_type_name (void) const =0

Protected Attributes

 = Data Members The EventChannel.
 The Proxy Container.
TAO_Notify_EventTypeSeq subscribed_types_
 The types that we've subscribed our proxy objects with the event manager.
TAO_Notify_FilterAdmin filter_admin_
 Filter Administration.
CosNotifyChannelAdmin::InterFilterGroupOperator filter_operator_
 Filter operator.
bool is_default_


class TAO_Notify_Builder

Detailed Description

Base class for the ConsumerAdmin and SupplierAdmin.

Member Typedef Documentation

typedef CosNotifyChannelAdmin::AdminIDSeq TAO_Notify_Admin::SEQ

typedef CosNotifyChannelAdmin::AdminIDSeq_var TAO_Notify_Admin::SEQ_VAR

typedef TAO_Notify_Container_T<TAO_Notify_Proxy> TAO_Notify_Admin::TAO_Notify_Proxy_Container [protected]

Constructor & Destructor Documentation

TAO_Notify_Admin::TAO_Notify_Admin  ) 


TAO_Notify_Admin::~TAO_Notify_Admin  ) 


Member Function Documentation

TAO_Notify_EventChannel* TAO_Notify_Admin::event_channel  )  const

TAO_Notify_FilterAdmin& TAO_Notify_Admin::filter_admin void   ) 

Access Admin FilterAdmin.

CosNotifyChannelAdmin::InterFilterGroupOperator TAO_Notify_Admin::filter_operator void   ) 

Access Filter operator.

void TAO_Notify_Admin::filter_operator CosNotifyChannelAdmin::InterFilterGroupOperator  filter_operator  ) 

Set Filter operator.

virtual const char* TAO_Notify_Admin::get_admin_type_name void   )  const [protected, pure virtual]

Implemented in TAO_Notify_ConsumerAdmin, and TAO_Notify_SupplierAdmin.

void TAO_Notify_Admin::init TAO_Notify::Topology_Parent *parent  ACE_ENV_ARG_DECL  ) 


void TAO_Notify_Admin::insert TAO_Notify_Proxy *proxy  ACE_ENV_ARG_DECL  ) 

Insert the proxy in the <proxy_container_>.

bool TAO_Notify_Admin::is_default  )  const

void TAO_Notify_Admin::load_attrs const TAO_Notify::NVPList attrs  )  [virtual]

Load our attributes. Each derived type should call the superclass load first before loading its own attributes.

Reimplemented from TAO_Notify_Object.

TAO_Notify::Topology_Object * TAO_Notify_Admin::load_child const ACE_CString type,
CORBA::Long  id,
const TAO_Notify::NVPList &attrs  ACE_ENV_ARG_DECL

Reimplemented in TAO_Notify_ConsumerAdmin, and TAO_Notify_SupplierAdmin.

void TAO_Notify_Admin::reconnect ACE_ENV_SINGLE_ARG_DECL   )  [virtual]

Re-establish connections that we had before a shutdown.

After a topology restore, this method is called so we can reconnect to any external objects with whom we were interacting. We should call the reconnect() method on all of our children to give them the chance to do the same.

Reimplemented from TAO_Notify::Topology_Savable.

void TAO_Notify_Admin::remove TAO_Notify_Proxy *proxy  ACE_ENV_ARG_DECL  ) 

Remove type from container_.

void TAO_Notify_Admin::save_attrs TAO_Notify::NVPList attrs  )  [protected, virtual]

Called by derived types to save their attributes. Each derived type should call its superclass version before saving its own attrs.

Reimplemented from TAO_Notify_Object.

void TAO_Notify_Admin::save_persistent TAO_Notify::Topology_Saver &saver  ACE_ENV_ARG_DECL  )  [virtual]

void TAO_Notify_Admin::set_default bool  is_default  ) 

int TAO_Notify_Admin::shutdown ACE_ENV_SINGLE_ARG_DECL   )  [virtual]


Reimplemented from TAO_Notify_Object.

void TAO_Notify_Admin::subscribed_types TAO_Notify_EventTypeSeq &subscribed_types  ACE_ENV_ARG_DECL  ) 

Obtain the Admin's subscribed types.

Friends And Related Function Documentation

friend class TAO_Notify_Builder [friend]

Reimplemented from TAO_Notify_Object.

Member Data Documentation

TAO_Notify_EventChannel* TAO_Notify_Admin::ec_ [protected]

= Data Members The EventChannel.

TAO_Notify_FilterAdmin TAO_Notify_Admin::filter_admin_ [protected]

Filter Administration.

CosNotifyChannelAdmin::InterFilterGroupOperator TAO_Notify_Admin::filter_operator_ [protected]

Filter operator.

bool TAO_Notify_Admin::is_default_ [protected]

TAO_Notify_Proxy_Container* TAO_Notify_Admin::proxy_container_ [protected]

The Proxy Container.

TAO_Notify_EventTypeSeq TAO_Notify_Admin::subscribed_types_ [protected]

The types that we've subscribed our proxy objects with the event manager.

The documentation for this class was generated from the following files:
Generated on Fri Dec 31 16:09:19 2004 for TAO_CosNotification by  doxygen