00001 // EC_SupplierAdmin.cpp,v 1.30 2006/03/14 06:14:25 jtc Exp 00002 00003 #include "orbsvcs/Event/EC_SupplierAdmin.h" 00004 #include "orbsvcs/Event/EC_ProxyConsumer.h" 00005 #include "orbsvcs/Event/EC_ProxySupplier.h" 00006 #include "orbsvcs/Event/EC_Event_Channel_Base.h" 00007 #include "orbsvcs/ESF/ESF_Peer_Workers.h" 00008 #include "orbsvcs/ESF/ESF_Peer_Admin.h" 00009 #include "orbsvcs/ESF/ESF_Shutdown_Proxy.h" 00010 00011 ACE_RCSID(Event, EC_SupplierAdmin, "EC_SupplierAdmin.cpp,v 1.30 2006/03/14 06:14:25 jtc Exp") 00012 00013 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00014 00015 TAO_EC_SupplierAdmin::TAO_EC_SupplierAdmin (TAO_EC_Event_Channel_Base *ec) 00016 : TAO_ESF_Peer_Admin<TAO_EC_Event_Channel_Base,TAO_EC_ProxyPushConsumer,RtecEventChannelAdmin::ProxyPushConsumer,TAO_EC_ProxyPushSupplier> (ec) 00017 { 00018 this->default_POA_ = 00019 this->event_channel_->supplier_poa (); 00020 } 00021 00022 TAO_EC_SupplierAdmin::~TAO_EC_SupplierAdmin (void) 00023 { 00024 } 00025 00026 RtecEventChannelAdmin::ProxyPushConsumer_ptr 00027 TAO_EC_SupplierAdmin::obtain_push_consumer (ACE_ENV_SINGLE_ARG_DECL) 00028 ACE_THROW_SPEC ((CORBA::SystemException)) 00029 { 00030 return this->obtain (ACE_ENV_SINGLE_ARG_PARAMETER); 00031 } 00032 00033 PortableServer::POA_ptr 00034 TAO_EC_SupplierAdmin::_default_POA (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) 00035 { 00036 return PortableServer::POA::_duplicate (this->default_POA_.in ()); 00037 } 00038 00039 TAO_END_VERSIONED_NAMESPACE_DECL