00001 // -*- C++ -*- 00002 // 00003 // $Id: UIPMC_Acceptor.inl 73791 2006-07-27 20:54:56Z wotte $ 00004 00005 00006 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00007 00008 ACE_INLINE const ACE_INET_Addr& 00009 TAO_UIPMC_Acceptor::address (void) const 00010 { 00011 ACE_ASSERT (this->addrs_ != 0); 00012 00013 // @@ This is busted. 00014 // The Implementation Repository will have to start supporting 00015 // IORs with multiple profiles. For now, we just return the 00016 // first addr. 00017 // -Ossama 00018 return this->addrs_[0]; 00019 } 00020 00021 ACE_INLINE const ACE_INET_Addr * 00022 TAO_UIPMC_Acceptor::endpoints (void) 00023 { 00024 ACE_ASSERT (this->addrs_ != 0); 00025 00026 return this->addrs_; 00027 } 00028 00029 TAO_END_VERSIONED_NAMESPACE_DECL