// -*- C++ -*-
#if defined (TAO_HAS_IIOP) && (TAO_HAS_IIOP != 0)

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

ACE_INLINE const char *
TAO_IIOP_Endpoint::host () const
{
  return this->host_.in ();
}

ACE_INLINE CORBA::UShort
TAO_IIOP_Endpoint::port () const
{
  return this->port_;
}

ACE_INLINE CORBA::UShort
TAO_IIOP_Endpoint::port (CORBA::UShort p)
{
  return this->port_ = p;
}

#if defined (ACE_HAS_IPV6)
ACE_INLINE bool
TAO_IIOP_Endpoint::is_ipv6_decimal () const
{
  return this->is_ipv6_decimal_;
}
#endif /* ACE_HAS_IPV6 */

TAO_END_VERSIONED_NAMESPACE_DECL

#endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */
