summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Endpoint.inl
blob: 06ba4371cc3a8e2d2f145c0d6fb2f4e4dfc45e54 (plain)
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
// -*- 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 */