00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #include "TcpTransport.h" 00009 #include "TcpConnection.h" 00010 #include "dds/DCPS/transport/framework/EntryExit.h" 00011 00012 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00013 00014 ACE_INLINE const ACE_INET_Addr& 00015 OpenDDS::DCPS::TcpDataLink::remote_address() const 00016 { 00017 DBG_ENTRY_LVL("TcpDataLink","remote_address",6); 00018 return this->remote_address_; 00019 } 00020 00021 ACE_INLINE OpenDDS::DCPS::TcpConnection_rch 00022 OpenDDS::DCPS::TcpDataLink::get_connection() 00023 { 00024 return this->connection_.lock(); 00025 } 00026 00027 OPENDDS_END_VERSIONED_NAMESPACE_DECL