2 #if defined (TAO_HAS_IIOP) && (TAO_HAS_IIOP != 0)
4 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
6 ACE_INLINE const ACE_INET_Addr&
7 TAO_IIOP_Acceptor::address () const
9 ACE_ASSERT (this->addrs_ != 0);
12 // The Implementation Repository will have to start supporting
13 // IORs with multiple profiles. For now, we just return the
16 return this->addrs_[0];
19 ACE_INLINE const ACE_INET_Addr *
20 TAO_IIOP_Acceptor::endpoints ()
22 ACE_ASSERT (this->addrs_ != 0);
27 ACE_INLINE const ACE_INET_Addr&
28 TAO_IIOP_Acceptor::default_address () const
30 return this->default_address_;
34 TAO_IIOP_Acceptor::set_default_address (const ACE_INET_Addr& addr)
36 this->default_address_.set (addr);
39 TAO_END_VERSIONED_NAMESPACE_DECL
41 #endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */