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