diff options
Diffstat (limited to 'TAO/tao/IIOP_Endpoint.inl')
-rw-r--r-- | TAO/tao/IIOP_Endpoint.inl | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/TAO/tao/IIOP_Endpoint.inl b/TAO/tao/IIOP_Endpoint.inl new file mode 100644 index 00000000000..c98e79c652c --- /dev/null +++ b/TAO/tao/IIOP_Endpoint.inl @@ -0,0 +1,37 @@ +// -*- C++ -*- +// +// $Id$ + +#if defined (TAO_HAS_IIOP) && (TAO_HAS_IIOP != 0) + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE const char * +TAO_IIOP_Endpoint::host (void) const +{ + return this->host_.in (); +} + +ACE_INLINE CORBA::UShort +TAO_IIOP_Endpoint::port (void) 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 (void) const +{ + return this->is_ipv6_decimal_; +} +#endif /* ACE_HAS_IPV6 */ + +TAO_END_VERSIONED_NAMESPACE_DECL + +#endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */ |