OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <TransportConfig.h>
Public Member Functions | |
OPENDDS_STRING | name () const |
typedef | OPENDDS_VECTOR (TransportInst_rch) InstancesType |
void | sorted_insert (const TransportInst_rch &inst) |
void | populate_locators (OpenDDS::DCPS::TransportLocatorSeq &trans_info) const |
![]() | |
virtual | ~RcObject () |
virtual void | _add_ref () |
virtual void | _remove_ref () |
long | ref_count () const |
WeakObject * | _get_weak_object () const |
Public Attributes | |
InstancesType | instances_ |
bool | swap_bytes_ |
unsigned long | passive_connect_duration_ |
Static Public Attributes | |
static const unsigned long | DEFAULT_PASSIVE_CONNECT_DURATION = 60000 |
Private Member Functions | |
TransportConfig (const OPENDDS_STRING &name) | |
~TransportConfig () | |
Private Attributes | |
const OPENDDS_STRING | name_ |
Friends | |
class | TransportRegistry |
template<typename T , typename U > | |
RcHandle< T > | OpenDDS::DCPS::make_rch (U const &) |
Additional Inherited Members | |
![]() | |
RcObject () | |
Definition at line 28 of file TransportConfig.h.
|
explicitprivate |
Definition at line 21 of file TransportConfig.cpp.
|
private |
Definition at line 27 of file TransportConfig.cpp.
|
inline |
Definition at line 33 of file TransportConfig.h.
References OpenDDS::DCPS::OPENDDS_VECTOR().
Referenced by OpenDDS::DCPS::TransportRegistry::bind_config(), OpenDDS::DCPS::TransportRegistry::create_new_transport_instance_for_participant(), OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_participant(), OpenDDS::DCPS::TransportClient::enable_transport(), OpenDDS::DCPS::TransportRegistry::fix_empty_default(), OpenDDS::DCPS::TransportRegistry::load_transport_configuration(), OpenDDS::DCPS::TransportRegistry::remove_config(), and sorted_insert().
typedef OpenDDS::DCPS::TransportConfig::OPENDDS_VECTOR | ( | TransportInst_rch | ) |
void OpenDDS::DCPS::TransportConfig::populate_locators | ( | OpenDDS::DCPS::TransportLocatorSeq & | trans_info | ) | const |
Definition at line 42 of file TransportConfig.cpp.
References OpenDDS::DCPS::CONNINFO_ALL, OpenDDS::DCPS::grow(), instances_, and OPENDDS_END_VERSIONED_NAMESPACE_DECL.
Referenced by OpenDDS::FaceTSS::config::Parser::parse(), and OpenDDS::DCPS::StaticDiscovery::parse_endpoints().
void OpenDDS::DCPS::TransportConfig::sorted_insert | ( | const TransportInst_rch & | inst | ) |
Insert the TransportInst in sorted order (by name) in the instances_ list. Use when the names of the TransportInst objects are specifically assigned to have the sorted order make sense.
Definition at line 31 of file TransportConfig.cpp.
References instances_, name(), OpenDDS::DCPS::TransportInst::name(), and OPENDDS_STRING.
Referenced by OpenDDS::DCPS::MulticastLoader::init(), OpenDDS::DCPS::UdpLoader::init(), OpenDDS::DCPS::TcpLoader::init(), and OpenDDS::DCPS::RtpsUdpLoader::load().
|
friend |
|
friend |
Definition at line 53 of file TransportConfig.h.
|
static |
Definition at line 31 of file TransportConfig.h.
Referenced by OpenDDS::DCPS::TransportClient::enable_transport_using_config().
InstancesType OpenDDS::DCPS::TransportConfig::instances_ |
Definition at line 36 of file TransportConfig.h.
Referenced by OpenDDS::DCPS::InfoRepoDiscovery::bit_config(), OpenDDS::DCPS::TransportRegistry::create_new_transport_instance_for_participant(), OpenDDS::DCPS::TransportClient::enable_transport(), OpenDDS::DCPS::TransportClient::enable_transport_using_config(), OpenDDS::DCPS::TransportRegistry::fix_empty_default(), OpenDDS::RTPS::Sedp::init(), TAO_DDS_DCPSInfo_i::init_transport(), OpenDDS::DCPS::MonitorFactoryImpl::initialize(), OpenDDS::Federator::ManagerImpl::initialize(), OpenDDS::DCPS::TransportRegistry::load_transport_configuration(), OpenDDS::DCPS::TransportClient::populate_connection_info(), populate_locators(), and sorted_insert().
|
private |
Definition at line 59 of file TransportConfig.h.
unsigned long OpenDDS::DCPS::TransportConfig::passive_connect_duration_ |
The time period in milliseconds for the acceptor side of a connection to wait for the connection. The default is 60 seconds
Definition at line 43 of file TransportConfig.h.
Referenced by OpenDDS::DCPS::TransportClient::enable_transport_using_config(), OpenDDS::RTPS::Sedp::init(), and OpenDDS::DCPS::TransportRegistry::load_transport_configuration().
bool OpenDDS::DCPS::TransportConfig::swap_bytes_ |
Definition at line 38 of file TransportConfig.h.
Referenced by OpenDDS::DCPS::TransportClient::enable_transport_using_config(), and OpenDDS::DCPS::TransportRegistry::load_transport_configuration().