00001 // -*- C++ -*- 00002 // 00003 // $Id: IIOP_Endpoint.inl 73791 2006-07-27 20:54:56Z wotte $ 00004 00005 #if defined (TAO_HAS_IIOP) && (TAO_HAS_IIOP != 0) 00006 00007 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00008 00009 ACE_INLINE const char * 00010 TAO_IIOP_Endpoint::host (void) const 00011 { 00012 return this->host_.in (); 00013 } 00014 00015 ACE_INLINE CORBA::UShort 00016 TAO_IIOP_Endpoint::port (void) const 00017 { 00018 return this->port_; 00019 } 00020 00021 ACE_INLINE CORBA::UShort 00022 TAO_IIOP_Endpoint::port (CORBA::UShort p) 00023 { 00024 return this->port_ = p; 00025 } 00026 00027 #if defined (ACE_HAS_IPV6) 00028 ACE_INLINE bool 00029 TAO_IIOP_Endpoint::is_ipv6_decimal (void) const 00030 { 00031 return this->is_ipv6_decimal_; 00032 } 00033 #endif /* ACE_HAS_IPV6 */ 00034 00035 TAO_END_VERSIONED_NAMESPACE_DECL 00036 00037 #endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */