00001 // -*- C++ -*- 00002 // 00003 // DIOP_Endpoint.i,v 1.7 2005/11/04 18:39:05 ossama Exp 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE const char * 00008 TAO_DIOP_Endpoint::host (void) const 00009 { 00010 return this->host_.in (); 00011 } 00012 00013 ACE_INLINE CORBA::UShort 00014 TAO_DIOP_Endpoint::port (void) const 00015 { 00016 return this->port_; 00017 } 00018 00019 ACE_INLINE CORBA::UShort 00020 TAO_DIOP_Endpoint::port (CORBA::UShort p) 00021 { 00022 return this->port_ = p; 00023 } 00024 00025 TAO_END_VERSIONED_NAMESPACE_DECL