8 #ifndef OPENDDS_DCPS_TRANSPORT_TCP_TCPINST_H 9 #define OPENDDS_DCPS_TRANSPORT_TCP_TCPINST_H 36 static const int DEFAULT_PASSIVE_RECONNECT_DURATION = 2000;
37 static const int DEFAULT_ACTIVE_CONN_TIMEOUT_PERIOD = 5000;
101 return (pub_address_str_ ==
"") ? local_address_str_ : pub_address_str_;
110 local_address_ = addr;
115 local_address_str_ = str;
120 local_address_str_ = host_name;
125 local_address_.set_port_number(port_number);
126 set_port_in_addr_string(local_address_str_, port_number);
132 friend class ::DDS_TEST;
133 template <
typename T,
typename U>
156 #if defined (__ACE_INLINE__)
void local_address(const ACE_INET_Addr &addr)
int max_output_pause_period_
Base class to hold configuration settings for TransportImpls.
#define OpenDDS_Tcp_Export
String to_dds_string(unsigned short to_convert)
void local_address_set_port(u_short port_number)
void local_address(u_short port_number, const char *host_name)
bool is_reliable() const
Does the transport as configured support RELIABLE_RELIABILITY_QOS?
ACE_INET_Addr choose_single_coherent_address(const ACE_INET_Addr &address, bool prefer_loopback)
OPENDDS_STRING local_address_string() const
int active_conn_timeout_period_
void local_address(const char *str)
ACE_INET_Addr local_address() const
int passive_reconnect_duration_
const std::string & get_public_address() const
ACE_INET_Addr local_address_
double conn_retry_backoff_multiplier_
bool enable_nagle_algorithm_
int conn_retry_initial_delay_
std::string pub_address_str_
const String & str() const
std::string local_address_str_
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
size_t ConnectionInfoFlags