OpenDDS
Snapshot(2023/04/28-20:55)
dds
DCPS
transport
tcp
TcpDataLink.inl
Go to the documentation of this file.
1
/*
2
*
3
*
4
* Distributed under the OpenDDS License.
5
* See: http://www.opendds.org/license.html
6
*/
7
8
#include "
TcpTransport.h
"
9
#include "
TcpConnection.h
"
10
#include "
dds/DCPS/transport/framework/EntryExit.h
"
11
12
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
13
14
ACE_INLINE
const
ACE_INET_Addr
&
15
OpenDDS::DCPS::TcpDataLink::remote_address
()
const
16
{
17
DBG_ENTRY_LVL
(
"TcpDataLink"
,
"remote_address"
,6);
18
return
this->
remote_address_
;
19
}
20
21
ACE_INLINE
OpenDDS::DCPS::TcpConnection_rch
22
OpenDDS::DCPS::TcpDataLink::get_connection
()
23
{
24
return
this->
connection_
.lock();
25
}
26
27
OPENDDS_END_VERSIONED_NAMESPACE_DECL
OpenDDS::DCPS::TcpDataLink::connection_
WeakRcHandle< TcpConnection > connection_
Definition:
TcpDataLink.h:96
EntryExit.h
OpenDDS::DCPS::TcpDataLink::remote_address_
ACE_INET_Addr remote_address_
Definition:
TcpDataLink.h:95
OpenDDS::DCPS::TcpDataLink::get_connection
TcpConnection_rch get_connection()
Definition:
TcpDataLink.inl:22
ACE_INET_Addr
TcpConnection.h
TcpTransport.h
DBG_ENTRY_LVL
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
Definition:
EntryExit.h:68
OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
Definition:
Versioned_Namespace.h:48
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
Definition:
Hash.cpp:17
ACE_INLINE
#define ACE_INLINE
OpenDDS::DCPS::TcpDataLink::remote_address
const ACE_INET_Addr & remote_address() const
Accessor for the remote address.
Definition:
TcpDataLink.inl:15
OpenDDS::DCPS::RcHandle
Definition:
RcHandle_T.h:24
Generated by
1.8.13