MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / Spdp

Method Spdp

dds/DCPS/RTPS/Spdp.cpp:225–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225Spdp::Spdp(DDS::DomainId_t domain,
226 GUID_t& guid,
227 const DDS::DomainParticipantQos& qos,
228 RtpsDiscovery* disco,
229 XTypes::TypeLookupService_rch tls)
230 : qos_(qos)
231 , disco_(disco)
232 , config_(disco_->config())
233 , participant_flags_(disco->config()->participant_flags())
234 , resend_period_(disco->config()->resend_period())
235 , quick_resend_ratio_(disco_->config()->quick_resend_ratio())
236 , min_resend_delay_(disco_->config()->min_resend_delay())
237 , lease_duration_(disco_->config()->lease_duration())
238 , lease_extension_(disco_->config()->lease_extension())
239 , max_lease_duration_(disco_->config()->max_lease_duration())
240 , minimum_cleanup_separation_(disco_->config()->minimum_cleanup_separation())
241 , max_spdp_sequence_msg_reset_checks_(disco->config()->max_spdp_sequence_msg_reset_checks())
242 , check_source_ip_(disco->config()->check_source_ip())
243 , undirected_spdp_(disco->config()->undirected_spdp())
244#if OPENDDS_CONFIG_SECURITY
245 , max_participants_in_authentication_(disco->config()->max_participants_in_authentication())
246 , security_unsecure_lease_duration_(disco->config()->security_unsecure_lease_duration())
247 , auth_resend_period_(disco->config()->auth_resend_period())
248 , max_auth_time_(disco->config()->max_auth_time())
249 , secure_participant_user_data_(disco->config()->secure_participant_user_data())
250#endif
251 , domain_(domain)
252 , guid_(guid)
253 , participant_discovered_at_(MonotonicTimePoint::now().to_idl_struct())
254 , is_application_participant_(false)
255 , harvest_thread_status_(false)
256 , ipv4_participant_port_id_(0)
257#ifdef ACE_HAS_IPV6
258 , ipv6_participant_port_id_(0)
259#endif
260 , tport_(DCPS::make_rch<SpdpTransport>(rchandle_from(this)))
261 , initialized_flag_(false)
262 , eh_shutdown_(false)
263 , shutdown_cond_(lock_)
264 , shutdown_flag_(false)
265 , available_builtin_endpoints_(0)
266 , sedp_(DCPS::make_rch<Sedp>(guid_, DCPS::ref(*this), DCPS::ref(lock_)))
267#if OPENDDS_CONFIG_SECURITY
268 , available_extended_builtin_endpoints_(0)
269 , security_config_()
270 , security_enabled_(false)
271 , identity_handle_(DDS::HANDLE_NIL)
272 , permissions_handle_(DDS::HANDLE_NIL)
273 , crypto_handle_(DDS::HANDLE_NIL)
274 , ice_agent_(ICE::Agent::instance())
275 , n_participants_in_authentication_(0)
276#endif
277 , stats_template_(stats_template())
278 , total_location_updates_(0)
279 , total_builtin_pending_(0)
280 , total_builtin_associated_(0)
281 , total_writer_pending_(0)
282 , total_writer_associated_(0)

Callers

nothing calls this directly

Calls 15

rchandle_fromFunction · 0.85
refFunction · 0.85
instanceFunction · 0.85
participant_flagsMethod · 0.80
resend_periodMethod · 0.80
quick_resend_ratioMethod · 0.80
min_resend_delayMethod · 0.80
lease_durationMethod · 0.80
lease_extensionMethod · 0.80
max_lease_durationMethod · 0.80

Tested by

no test coverage detected