23 const bool DEFAULT_TO_IPV6(
false);
25 const u_short DEFAULT_PORT_OFFSET(49152);
27 const char* DEFAULT_IPV4_GROUP_ADDRESS(
"224.0.0.128");
28 const char* DEFAULT_IPV6_GROUP_ADDRESS(
"FF01::80");
30 const bool DEFAULT_RELIABLE(
true);
32 const double DEFAULT_SYN_BACKOFF(2.0);
33 const long DEFAULT_SYN_INTERVAL(250);
34 const long DEFAULT_SYN_TIMEOUT(30000);
36 const unsigned char DEFAULT_TTL(1);
37 const bool DEFAULT_ASYNC_SEND(
false);
46 MulticastInst::MulticastInst(
const std::string&
name)
48 default_to_ipv6_(DEFAULT_TO_IPV6),
49 port_offset_(DEFAULT_PORT_OFFSET),
50 reliable_(DEFAULT_RELIABLE),
51 syn_backoff_(DEFAULT_SYN_BACKOFF),
52 nak_depth_(DEFAULT_NAK_DEPTH),
53 nak_delay_intervals_(DEFAULT_NAK_DELAY_INTERVALS),
54 nak_max_(DEFAULT_NAK_MAX),
62 async_send_(DEFAULT_ASYNC_SEND)
125 #if defined (ACE_WIN32) && defined (ACE_HAS_WIN32_OVERLAPPED_IO) 151 std::ostringstream os;
171 os <<
"System Default Value" << std::endl;
178 #if defined (ACE_WIN32) && defined (ACE_HAS_WIN32_OVERLAPPED_IO) 179 os << (this->
async_send_ ?
"true" :
"false") << std::endl;
181 os <<
"Not Supported on this Platform" << std::endl;
193 cdr << network_resource;
197 char* buffer =
const_cast<char*
>(cdr.
buffer());
RcHandle< T > rchandle_from(T *pointer)
const char * c_str(void) const
size_t nak_delay_intervals_
Base class to hold configuration settings for TransportImpls.
std::string local_address_
virtual OPENDDS_STRING dump_to_str() const
Diagnostic aid.
#define GET_CONFIG_STRING_VALUE(CF, SECT, KEY, VALUE)
bool is_reliable() const
Does the transport as configured support RELIABLE_RELIABILITY_QOS?
static const long DEFAULT_NAK_TIMEOUT
static const long DEFAULT_NAK_INTERVAL
size_t total_length(void) const
void default_group_address(ACE_INET_Addr &group_address)
TimeDuration syn_interval_
static TimeDuration from_msec(const ACE_UINT64 &ms)
bool is_empty(void) const
#define GET_CONFIG_VALUE(CF, SECT, KEY, VALUE, TYPE)
#define GET_CONFIG_TSTRING_VALUE(CF, SECT, KEY, VALUE)
TransportImpl_rch new_impl()
Defines a wrapper around address info which is used for advertise.
const char * buffer(void) const
#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ
int set(const ACE_INET_Addr &)
#define GET_CONFIG_TIME_VALUE(CF, SECT, KEY, VALUE)
ACE_INET_Addr group_address_
virtual int load(ACE_Configuration_Heap &cf, ACE_Configuration_Section_Key §)
TimeDuration nak_timeout_
virtual int load(ACE_Configuration_Heap &cf, ACE_Configuration_Section_Key §)
String str(unsigned decimal_places=3, bool just_sec=false) const
const String & str() const
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
string transport_type
The transport type (e.g. tcp or udp)
static OPENDDS_STRING formatNameForDump(const char *name)
TimeDuration syn_timeout_
virtual size_t populate_locator(OpenDDS::DCPS::TransportLocator &trans_info, ConnectionInfoFlags flags) const
Populate a transport locator sequence. Return the number of "locators.".
DDS::OctetSeq TransportBLOB
The Internal API and Implementation of OpenDDS.
virtual OPENDDS_STRING dump_to_str() const
size_t ConnectionInfoFlags
TimeDuration nak_interval_