OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <RtpsUdpInst.h>
Static Public Attributes | |
static const suseconds_t | DEFAULT_NAK_RESPONSE_DELAY_USEC = 200000 |
static const time_t | DEFAULT_HEARTBEAT_PERIOD_SEC = 1 |
![]() | |
static const long | DEFAULT_DATALINK_RELEASE_DELAY = 10000 |
static const size_t | DEFAULT_DATALINK_CONTROL_CHUNKS = 32u |
Private Member Functions | |
RtpsUdpInst (const OPENDDS_STRING &name) | |
TransportImpl_rch | new_impl () |
Friends | |
class | RtpsUdpType |
class | RTPS::Sedp |
class | RtpsUdpTransport |
template<typename T , typename U > | |
RcHandle< T > | OpenDDS::DCPS::make_rch (U const &) |
Additional Inherited Members | |
![]() | |
static OPENDDS_STRING | formatNameForDump (const char *name) |
![]() | |
TransportInst (const char *type, const OPENDDS_STRING &name) | |
virtual | ~TransportInst () |
void | set_port_in_addr_string (OPENDDS_STRING &addr_str, u_short port_number) |
TransportImpl_rch | get_or_create_impl () |
TransportImpl_rch | get_impl () |
![]() | |
RcObject () | |
![]() | |
ACE_SYNCH_MUTEX | lock_ |
bool | shutting_down_ |
Definition at line 31 of file RtpsUdpInst.h.
|
explicitprivate |
Definition at line 29 of file RtpsUdpInst.cpp.
References ACE_DEFAULT_MAX_SOCKET_BUFSIZ, and if().
|
inline |
Definition at line 85 of file RtpsUdpInst.h.
Referenced by load(), and populate_locator().
|
inline |
Definition at line 86 of file RtpsUdpInst.h.
References ACE_ERROR, ACE_TEXT(), AF_INET, OpenDDS::DCPS::NetworkAddress::get_type(), and LM_ERROR.
|
virtual |
Reimplemented from OpenDDS::DCPS::TransportInst.
Definition at line 319 of file RtpsUdpInst.cpp.
References OpenDDS::DCPS::TransportInst::get_or_create_impl(), OPENDDS_END_VERSIONED_NAMESPACE_DECL, and OpenDDS::DCPS::static_rchandle_cast().
|
virtual |
Diagnostic aid.
Reimplemented from OpenDDS::DCPS::TransportInst.
Definition at line 174 of file RtpsUdpInst.cpp.
References anticipated_fragments_, OpenDDS::DCPS::TransportInst::dump_to_str(), OpenDDS::DCPS::TransportInst::formatNameForDump(), heartbeat_period_, local_address(), max_message_size_, multicast_group_address_, multicast_interface_, nak_depth_, nak_response_delay_, OPENDDS_STRING, rcv_buffer_size_, responsive_mode_, send_buffer_size_, OpenDDS::DCPS::LogAddr::str(), OpenDDS::DCPS::TimeDuration::str(), OpenDDS::DCPS::to_dds_string(), ttl_, and use_multicast_.
const TransportBLOB * OpenDDS::DCPS::RtpsUdpInst::get_blob | ( | const OpenDDS::DCPS::TransportLocatorSeq & | trans_info | ) | const |
Definition at line 275 of file RtpsUdpInst.cpp.
|
virtual |
Reimplemented from OpenDDS::DCPS::TransportInst.
Definition at line 298 of file RtpsUdpInst.cpp.
References OpenDDS::DCPS::TransportInst::get_or_create_impl(), and OpenDDS::DCPS::static_rchandle_cast().
|
inlinevirtual |
Does the transport as configured support RELIABLE_RELIABILITY_QOS?
Implements OpenDDS::DCPS::TransportInst.
Definition at line 59 of file RtpsUdpInst.h.
|
virtual |
Overwrite the default configurations with the configuration from the given section in the ACE_Configuration_Heap object.
Reimplemented from OpenDDS::DCPS::TransportInst.
Definition at line 67 of file RtpsUdpInst.cpp.
References ACE_ERROR_RETURN, ACE_TEXT(), advertised_address(), anticipated_fragments_, ACE_String_Base< char >::c_str(), GET_CONFIG_STRING_VALUE, GET_CONFIG_TIME_VALUE, GET_CONFIG_TSTRING_VALUE, GET_CONFIG_VALUE, heartbeat_period_, ACE_String_Base< char >::is_empty(), LM_ERROR, OpenDDS::DCPS::TransportInst::load(), local_address(), max_message_size_, multicast_group_address(), multicast_interface_, nak_depth_, nak_response_delay_, ACE_String_Base_Const::npos, OPENDDS_STRING, rcv_buffer_size_, responsive_mode_, ACE_String_Base< char >::rfind(), rtps_relay_address(), rtps_relay_only_, send_buffer_size_, send_delay_, stun_server_address(), TheServiceParticipant, ttl_, use_ice_, use_multicast_, and use_rtps_relay_.
|
inline |
Definition at line 75 of file RtpsUdpInst.h.
Referenced by dump_to_str(), load(), and populate_locator().
|
inline |
Definition at line 76 of file RtpsUdpInst.h.
References ACE_ERROR, ACE_TEXT(), AF_INET, OpenDDS::DCPS::NetworkAddress::get_type(), and LM_ERROR.
|
inline |
Definition at line 65 of file RtpsUdpInst.h.
Referenced by load().
|
inline |
Definition at line 66 of file RtpsUdpInst.h.
References ACE_ERROR, ACE_TEXT(), AF_INET, OpenDDS::DCPS::NetworkAddress::get_type(), and LM_ERROR.
|
privatevirtual |
Implements OpenDDS::DCPS::TransportInst.
Definition at line 61 of file RtpsUdpInst.cpp.
References OpenDDS::DCPS::rchandle_from().
|
virtual |
Populate a transport locator sequence. Return the number of "locators.".
Implements OpenDDS::DCPS::TransportInst.
Definition at line 194 of file RtpsUdpInst.cpp.
References OpenDDS::DCPS::address_to_locator(), advertised_address(), AF_INET, OpenDDS::DCPS::CONNINFO_MULTICAST, OpenDDS::DCPS::CONNINFO_UNICAST, OpenDDS::DCPS::TransportLocator::data, OpenDDS::DCPS::get_interface_addrs(), OpenDDS::DCPS::NetworkAddress::get_port_number(), ACE_Addr::get_type(), OpenDDS::DCPS::grow(), local_address(), OpenDDS::RTPS::locators_to_blob(), multicast_group_address_, OpenDDS::DCPS::OPENDDS_VECTOR(), OpenDDS::DCPS::NetworkAddress::to_addr(), OpenDDS::DCPS::TransportLocator::transport_type, and use_multicast_.
|
inlinevirtual |
Does the transport require a CDR-encapsulated data payload?
Reimplemented from OpenDDS::DCPS::TransportInst.
Definition at line 60 of file RtpsUdpInst.h.
|
inline |
Definition at line 210 of file RtpsUdpInst.h.
References ACE_GUARD.
|
inline |
Definition at line 216 of file RtpsUdpInst.h.
References ACE_GUARD_RETURN.
Referenced by load().
|
virtual |
Reimplemented from OpenDDS::DCPS::TransportInst.
Definition at line 309 of file RtpsUdpInst.cpp.
References OpenDDS::DCPS::TransportInst::get_impl(), and OpenDDS::DCPS::static_rchandle_cast().
|
inline |
Relay address and stun server address may change, these use a mutex {
Definition at line 180 of file RtpsUdpInst.h.
References ACE_DEBUG, ACE_GUARD, OpenDDS::DCPS::DCPS_debug_level, and LM_INFO.
|
inline |
Definition at line 189 of file RtpsUdpInst.h.
References ACE_GUARD_RETURN.
|
inline |
Definition at line 237 of file RtpsUdpInst.h.
References ACE_GUARD.
|
inline |
Definition at line 243 of file RtpsUdpInst.h.
References ACE_GUARD_RETURN, and OPENDDS_END_VERSIONED_NAMESPACE_DECL.
Referenced by load().
|
virtual |
}
Reimplemented from OpenDDS::DCPS::TransportInst.
Definition at line 287 of file RtpsUdpInst.cpp.
References OpenDDS::DCPS::TransportInst::get_or_create_impl(), and OpenDDS::DCPS::static_rchandle_cast().
|
inline |
Definition at line 222 of file RtpsUdpInst.h.
References ACE_DEBUG, ACE_GUARD, OpenDDS::DCPS::DCPS_debug_level, and LM_INFO.
|
inline |
Definition at line 231 of file RtpsUdpInst.h.
References ACE_GUARD_RETURN.
|
inline |
Definition at line 195 of file RtpsUdpInst.h.
References ACE_DEBUG, ACE_GUARD, OpenDDS::DCPS::DCPS_debug_level, and LM_INFO.
|
inline |
Definition at line 204 of file RtpsUdpInst.h.
References ACE_GUARD_RETURN.
|
friend |
|
friend |
Definition at line 158 of file RtpsUdpInst.h.
|
friend |
Definition at line 159 of file RtpsUdpInst.h.
|
friend |
Definition at line 151 of file RtpsUdpInst.h.
|
private |
Definition at line 165 of file RtpsUdpInst.h.
size_t OpenDDS::DCPS::RtpsUdpInst::anticipated_fragments_ |
Definition at line 44 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
|
mutableprivate |
Definition at line 172 of file RtpsUdpInst.h.
|
static |
Definition at line 35 of file RtpsUdpInst.h.
Referenced by OpenDDS::DCPS::RtpsUdpDataLink::check_heartbeats(), OpenDDS::DCPS::RtpsUdpTransport::make_datalink(), OpenDDS::DCPS::RtpsUdpDataLink::register_for_reader(), OpenDDS::DCPS::RtpsUdpDataLink::register_for_writer(), OpenDDS::DCPS::RtpsUdpTransport::rtps_relay_address_change(), OpenDDS::DCPS::RtpsUdpTransport::rtps_relay_only_now(), and OpenDDS::DCPS::RtpsUdpTransport::use_rtps_relay_now().
|
static |
Definition at line 34 of file RtpsUdpInst.h.
Referenced by OpenDDS::DCPS::RtpsUdpDataLink::RtpsWriter::process_acknack(), and OpenDDS::DCPS::RtpsUdpDataLink::RtpsWriter::process_nackfrag().
TimeDuration OpenDDS::DCPS::RtpsUdpInst::heartbeat_period_ |
Definition at line 48 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
|
private |
Definition at line 164 of file RtpsUdpInst.h.
size_t OpenDDS::DCPS::RtpsUdpInst::max_message_size_ |
Definition at line 45 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
|
private |
Definition at line 163 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and populate_locator().
OPENDDS_STRING OpenDDS::DCPS::RtpsUdpInst::multicast_interface_ |
Definition at line 42 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
size_t OpenDDS::DCPS::RtpsUdpInst::nak_depth_ |
Definition at line 46 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
TimeDuration OpenDDS::DCPS::RtpsUdpInst::nak_response_delay_ |
Definition at line 47 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
|
private |
Definition at line 160 of file RtpsUdpInst.h.
|
private |
Definition at line 161 of file RtpsUdpInst.h.
ACE_INT32 OpenDDS::DCPS::RtpsUdpInst::rcv_buffer_size_ |
Definition at line 38 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
TimeDuration OpenDDS::DCPS::RtpsUdpInst::receive_address_duration_ |
Definition at line 49 of file RtpsUdpInst.h.
bool OpenDDS::DCPS::RtpsUdpInst::responsive_mode_ |
Definition at line 50 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
|
private |
Definition at line 175 of file RtpsUdpInst.h.
|
private |
Definition at line 173 of file RtpsUdpInst.h.
Referenced by load().
ACE_INT32 OpenDDS::DCPS::RtpsUdpInst::send_buffer_size_ |
Definition at line 37 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
TimeDuration OpenDDS::DCPS::RtpsUdpInst::send_delay_ |
Definition at line 51 of file RtpsUdpInst.h.
Referenced by load().
|
private |
Definition at line 177 of file RtpsUdpInst.h.
unsigned char OpenDDS::DCPS::RtpsUdpInst::ttl_ |
Definition at line 41 of file RtpsUdpInst.h.
Referenced by dump_to_str(), and load().
|
private |
Definition at line 176 of file RtpsUdpInst.h.
Referenced by load().
bool OpenDDS::DCPS::RtpsUdpInst::use_multicast_ |
Definition at line 40 of file RtpsUdpInst.h.
Referenced by dump_to_str(), load(), and populate_locator().
|
private |
Definition at line 174 of file RtpsUdpInst.h.
Referenced by load().