/usr/include/tao/IIOP_Acceptor.inl is in libtao-dev 6.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | // -*- C++ -*-
//
// $Id: IIOP_Acceptor.inl 73791 2006-07-27 20:54:56Z wotte $
#if defined (TAO_HAS_IIOP) && (TAO_HAS_IIOP != 0)
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE const ACE_INET_Addr&
TAO_IIOP_Acceptor::address (void) const
{
ACE_ASSERT (this->addrs_ != 0);
// @@ This is busted.
// The Implementation Repository will have to start supporting
// IORs with multiple profiles. For now, we just return the
// first addr.
// -Ossama
return this->addrs_[0];
}
ACE_INLINE const ACE_INET_Addr *
TAO_IIOP_Acceptor::endpoints (void)
{
ACE_ASSERT (this->addrs_ != 0);
return this->addrs_;
}
ACE_INLINE const ACE_INET_Addr&
TAO_IIOP_Acceptor::default_address (void) const
{
return this->default_address_;
}
ACE_INLINE void
TAO_IIOP_Acceptor::set_default_address (const ACE_INET_Addr& addr)
{
this->default_address_.set (addr);
}
TAO_END_VERSIONED_NAMESPACE_DECL
#endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */
|