OpenDDS  Snapshot(2023/04/28-20:55)
TcpConnection.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 "TcpAcceptor.h"
9 #include "TcpDataLink.h"
10 #include "TcpSendStrategy.h"
11 #include "TcpReceiveStrategy.h"
12 
15 
16 #include <ace/SOCK_Connector.h>
17 
19 
21 std::size_t&
23 {
24  return id_;
25 }
26 
27 
28 ACE_INLINE bool
30 {
31  return this->is_connector_;
32 }
33 
36 {
37  return this->remote_address_;
38 }
39 
43 {
44  return this->transport_priority_;
45 }
46 
50 {
51  return this->transport_priority_;
52 }
53 
std::size_t id_
Small unique identifying value.
Priority transport_priority_
TRANSPORT_PRIORITY.value policy value.
Priority & transport_priority()
Access TRANSPORT_PRIORITY.value policy value if set.
ACE_INET_Addr get_remote_address()
ACE_CDR::Long Priority
ACE_INET_Addr remote_address_
Remote address.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define ACE_INLINE
bool is_connector_
Flag indicate this connection object is the connector or acceptor.