CIAO  1.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
CIAO::Servant_Impl_Base Class Reference

Non-template base class for Servant_Impl. More...

#include <Servant_Impl_Base.h>

Inheritance diagram for CIAO::Servant_Impl_Base:
Inheritance graph
Collaboration diagram for CIAO::Servant_Impl_Base:
Collaboration graph

Public Member Functions

virtual ~Servant_Impl_Base (void)
 
virtual void remove (void)
 Operations for CCMObject interface. More...
 
virtual
::Components::ComponentPortDescription
get_all_ports (void)
 
virtual
::Components::PrimaryKeyBase
get_primary_key (void)
 
virtual
::Components::ConsumerDescriptions
get_all_consumers (void)
 
virtual
::Components::EventConsumerBase_ptr 
get_consumer (const char *sink_name)
 
virtual
::Components::ConsumerDescriptions
get_named_consumers (const ::Components::NameList &names)
 
virtual
::Components::EmitterDescriptions
get_named_emitters (const ::Components::NameList &names)
 
virtual
::Components::PublisherDescriptions
get_named_publishers (const ::Components::NameList &names)
 
- Public Member Functions inherited from CIAO::Connector_Servant_Impl_Base
virtual ~Connector_Servant_Impl_Base (void)
 
virtual CORBA::IRObject_ptr get_component_def (void)
 
virtual
Components::EnterpriseComponent_ptr 
get_executor ()=0
 
virtual
::Components::ConnectionDescriptions
get_connections (const char *name)
 
virtual CORBA::Object_ptr provide_facet (const char *name)
 
virtual
::Components::FacetDescriptions
get_named_facets (const ::Components::NameList &names)
 
virtual
::Components::FacetDescriptions
get_all_facets (void)
 
virtual
::Components::ReceptacleDescriptions
get_all_receptacles (void)
 
virtual
::Components::PrimaryKeyBase
get_primary_key (void)
 
virtual
::Components::ComponentPortDescription
get_all_ports (void)
 
virtual
::Components::ConsumerDescriptions
get_all_consumers (void)
 
virtual
::Components::EventConsumerBase_ptr 
get_consumer (const char *sink_name)
 
virtual
::Components::ConsumerDescriptions
get_named_consumers (const ::Components::NameList &names)
 
virtual
::Components::EmitterDescriptions
get_all_emitters (void)
 
virtual
::Components::EmitterDescriptions
get_named_emitters (const ::Components::NameList &names)
 
virtual
::Components::ReceptacleDescriptions
get_named_receptacles (const ::Components::NameList &names)
 
virtual
::Components::PublisherDescriptions
get_all_publishers (void)
 
virtual
::Components::PublisherDescriptions
get_named_publishers (const ::Components::NameList &names)
 
virtual ::Components::Cookiesubscribe (const char *publisher_name,::Components::EventConsumerBase_ptr subscriber)
 
virtual
::Components::EventConsumerBase_ptr 
unsubscribe (const char *publisher_name,::Components::Cookie *ck)
 
virtual void connect_consumer (const char *emitter_name,::Components::EventConsumerBase_ptr consumer)
 
virtual
::Components::EventConsumerBase_ptr 
disconnect_consumer (const char *source_name)
 
virtual ::Components::Cookieconnect (const char *name,::CORBA::Object_ptr connection)
 
virtual ::CORBA::Object_ptr disconnect (const char *name,::Components::Cookie *ck)
 
virtual void set_attributes (const Components::ConfigValues &descr)
 Operation to set attributes on the component. More...
 
virtual
::Components::StandardConfigurator_ptr 
get_standard_configurator (void)
 
virtual PortableServer::POA_ptr _default_POA (void)
 
virtual ::CORBA::Object_ptr get_facet_executor (const char *name)
 
virtual void activate_component (void)=0
 
virtual void passivate_component (void)=0
 

Protected Types

typedef std::map< ACE_CString,::Components::EventConsumerBase_var > ConsumerTable
 
- Protected Types inherited from CIAO::Connector_Servant_Impl_Base
typedef std::map< ACE_CString,::CORBA::Object_varFacetTable
 

Protected Member Functions

 Servant_Impl_Base (Components::CCMHome_ptr home, Home_Servant_Impl_Base *home_servant, Container_ptr c)
 
void add_consumer (const char *port_name,::Components::EventConsumerBase_ptr port_ref)
 Protected operations. More...
 
::Components::EventConsumerBase_ptr lookup_consumer (const char *port_name)
 
::Components::ConsumerDescriptionlookup_consumer_description (const char *port_name)
 
- Protected Member Functions inherited from CIAO::Connector_Servant_Impl_Base
 Connector_Servant_Impl_Base (Components::CCMHome_ptr home, Home_Servant_Impl_Base *home_servant, Container_ptr c)
 
virtual void ccm_remove (void)=0
 
void add_facet (const char *port_name,::CORBA::Object_ptr port_ref)
 Protected operations. More...
 
CORBA::Object_ptr lookup_facet (const char *port_name)
 
::Components::FacetDescriptionlookup_facet_description (const char *port_name)
 
::Components::ReceptacleDescriptionlookup_receptacle_description (const char *receptacle_name)
 

Protected Attributes

ConsumerTable consumer_table_
 
- Protected Attributes inherited from CIAO::Connector_Servant_Impl_Base
FacetTable facet_table_
 
Container_var container_
 
Components::CCMHome_var home_
 
Home_Servant_Impl_Basehome_servant_
 
TAO_SYNCH_MUTEX lock_
 For internal locking of table reads and writes. More...
 

Private Member Functions

::Components::PublisherDescriptionlookup_publisher_description (const char *publisher_name)
 Private operations. More...
 
::Components::EmitterDescriptionlookup_emitter_description (const char *emitter_name)
 

Detailed Description

Non-template base class for Servant_Impl.

Holds the non-template parts of its child class Servant_Impl. Inherits from Connector_Servant_Impl_Base, which contains the facet and receptacle functionality that Connectors are limited to.

Member Typedef Documentation

typedef std::map<ACE_CString, ::Components::EventConsumerBase_var> CIAO::Servant_Impl_Base::ConsumerTable
protected

Constructor & Destructor Documentation

CIAO::Servant_Impl_Base::Servant_Impl_Base ( Components::CCMHome_ptr  home,
Home_Servant_Impl_Base home_servant,
Container_ptr  c 
)
protected
CIAO::Servant_Impl_Base::~Servant_Impl_Base ( void  )
virtual

Member Function Documentation

void CIAO::Servant_Impl_Base::add_consumer ( const char *  port_name,
::Components::EventConsumerBase_ptr  port_ref 
)
protected

Protected operations.

Components::ConsumerDescriptions * CIAO::Servant_Impl_Base::get_all_consumers ( void  )
Components::ComponentPortDescription * CIAO::Servant_Impl_Base::get_all_ports ( void  )
Components::EventConsumerBase_ptr CIAO::Servant_Impl_Base::get_consumer ( const char *  sink_name)
Components::ConsumerDescriptions * CIAO::Servant_Impl_Base::get_named_consumers ( const ::Components::NameList names)
Components::EmitterDescriptions * CIAO::Servant_Impl_Base::get_named_emitters ( const ::Components::NameList names)
Components::PublisherDescriptions * CIAO::Servant_Impl_Base::get_named_publishers ( const ::Components::NameList names)
Components::PrimaryKeyBase * CIAO::Servant_Impl_Base::get_primary_key ( void  )
Components::EventConsumerBase_ptr CIAO::Servant_Impl_Base::lookup_consumer ( const char *  port_name)
protected
Components::ConsumerDescription * CIAO::Servant_Impl_Base::lookup_consumer_description ( const char *  port_name)
protected

Calling function will throw InvalidName after getting this.

Components::EmitterDescription * CIAO::Servant_Impl_Base::lookup_emitter_description ( const char *  emitter_name)
private
Components::PublisherDescription * CIAO::Servant_Impl_Base::lookup_publisher_description ( const char *  publisher_name)
private

Private operations.

void CIAO::Servant_Impl_Base::remove ( void  )
virtual

Operations for CCMObject interface.

This call deactivates facets, removes executor and home servant (if any), and uninstalls us from the container. It has its own try/catch blocks.

Reimplemented from CIAO::Connector_Servant_Impl_Base.

Member Data Documentation

ConsumerTable CIAO::Servant_Impl_Base::consumer_table_
protected

The documentation for this class was generated from the following files: