00001 // $Id: EC_SupplierAdmin.cpp 77001 2007-02-12 07:54:49Z johnnyw $ 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, "$Id: EC_SupplierAdmin.cpp 77001 2007-02-12 07:54:49Z johnnyw $") 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 (void) 00028 { 00029 return this->obtain (); 00030 } 00031 00032 PortableServer::POA_ptr 00033 TAO_EC_SupplierAdmin::_default_POA (void) 00034 { 00035 return PortableServer::POA::_duplicate (this->default_POA_.in ()); 00036 } 00037 00038 TAO_END_VERSIONED_NAMESPACE_DECL