8 #ifndef OPENDDS_DCPS_TRANSPORT_TCP_TCPTRANSPORT_H 9 #define OPENDDS_DCPS_TRANSPORT_TCP_TCPTRANSPORT_H 35 class TcpConnectionReplaceTask;
58 virtual void unbind_link(
DataLink* link);
73 bool association_failed);
75 virtual bool configure_i(
const TcpInst_rch& config);
77 virtual void client_stop(
const GUID_t& local_id);
79 virtual void shutdown_i();
84 virtual void release_datalink(
DataLink* link);
123 typedef OPENDDS_MAP(PriorityKey, TcpDataLink_rch) LinkMap;
AddrLinkMap links_
This is the map of connected DataLinks.
ConditionVariable< LockType > ConditionVariableType
LockType links_lock_
This lock is used to protect the links_ data member.
#define OpenDDS_Tcp_Export
Encapsulate a priority value and internet address as a key.
unique_ptr< TcpAcceptor > acceptor_
Used to accept passive connections on our local_address_.
virtual std::string transport_type() const
ACE_Guard< LockType > GuardType
ConnectionMap connections_
Atomic< size_t > last_link_
RcHandle< TcpDataLink > TcpDataLink_rch
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
Connector connector_
Open TcpConnections using non-blocking connect.
LockType connections_lock_
AddrLinkMap pending_release_links_
DDS::OctetSeq TransportBLOB
The Internal API and Implementation of OpenDDS.
typedef OPENDDS_MAP(OPENDDS_STRING, OPENDDS_STRING) ValueMap
Helper types and functions for config file parsing.
size_t ConnectionInfoFlags
ACE_Hash_Map_Manager_Ex< PriorityKey, TcpDataLink_rch, ACE_Hash< PriorityKey >, ACE_Equal_To< PriorityKey >, ACE_Null_Mutex > AddrLinkMap
Map Type: (key) PriorityKey to (value) TcpDataLink_rch.