CIAO
1.1.6
|
Non-template base class for Servant_Impl. More...
#include <Servant_Impl_Base.h>
Public Member Functions | |
virtual | ~Servant_Impl_Base (void) |
virtual void | remove (void) |
Operations for CCMObject interface. | |
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) |
![]() | |
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::EmitterDescriptions * | get_all_emitters (void) |
virtual ::Components::ReceptacleDescriptions * | get_named_receptacles (const ::Components::NameList &names) |
virtual ::Components::PublisherDescriptions * | get_all_publishers (void) |
virtual ::Components::Cookie * | subscribe (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::Cookie * | connect (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. | |
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 |
![]() | |
typedef std::map< ACE_CString,::CORBA::Object_var > | FacetTable |
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. | |
::Components::EventConsumerBase_ptr | lookup_consumer (const char *port_name) |
::Components::ConsumerDescription * | lookup_consumer_description (const char *port_name) |
![]() | |
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. | |
CORBA::Object_ptr | lookup_facet (const char *port_name) |
::Components::FacetDescription * | lookup_facet_description (const char *port_name) |
::Components::ReceptacleDescription * | lookup_receptacle_description (const char *receptacle_name) |
Protected Attributes | |
ConsumerTable | consumer_table_ |
![]() | |
FacetTable | facet_table_ |
Container_var | container_ |
Components::CCMHome_var | home_ |
Home_Servant_Impl_Base * | home_servant_ |
TAO_SYNCH_MUTEX | lock_ |
For internal locking of table reads and writes. |
Private Member Functions | |
::Components::PublisherDescription * | lookup_publisher_description (const char *publisher_name) |
Private operations. | |
::Components::EmitterDescription * | lookup_emitter_description (const char *emitter_name) |
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.
|
protected |
|
protected |
|
virtual |
|
protected |
Protected operations.
Components::ConsumerDescriptions * CIAO::Servant_Impl_Base::get_all_consumers | ( | void | ) |
Reimplemented from CIAO::Connector_Servant_Impl_Base.
Components::ComponentPortDescription * CIAO::Servant_Impl_Base::get_all_ports | ( | void | ) |
Reimplemented from CIAO::Connector_Servant_Impl_Base.
Components::EventConsumerBase_ptr CIAO::Servant_Impl_Base::get_consumer | ( | const char * | sink_name | ) |
Reimplemented from CIAO::Connector_Servant_Impl_Base.
Components::ConsumerDescriptions * CIAO::Servant_Impl_Base::get_named_consumers | ( | const ::Components::NameList & | names | ) |
Reimplemented from CIAO::Connector_Servant_Impl_Base.
Components::EmitterDescriptions * CIAO::Servant_Impl_Base::get_named_emitters | ( | const ::Components::NameList & | names | ) |
Reimplemented from CIAO::Connector_Servant_Impl_Base.
Components::PublisherDescriptions * CIAO::Servant_Impl_Base::get_named_publishers | ( | const ::Components::NameList & | names | ) |
Reimplemented from CIAO::Connector_Servant_Impl_Base.
Components::PrimaryKeyBase * CIAO::Servant_Impl_Base::get_primary_key | ( | void | ) |
Reimplemented from CIAO::Connector_Servant_Impl_Base.
|
protected |
|
protected |
Calling function will throw InvalidName after getting this.
|
private |
|
private |
Private operations.
|
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.
|
protected |