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

Method start_liveliness_timer

dds/DCPS/WriterInfo.cpp:247–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void
248WriterInfo::start_liveliness_timer()
249{
250 ACE_Guard<ACE_Thread_Mutex> guard(mutex_);
251 last_liveliness_activity_time_ = MonotonicTimePoint::now();
252 if (reader_liveliness_lease_duration_is_finite_) {
253 liveliness_check_task_->schedule(reader_liveliness_lease_duration_);
254 }
255}
256
257void
258WriterInfo::check_liveliness(const MonotonicTimePoint& now)

Callers 1

transport_assoc_doneMethod · 0.80

Calls 1

scheduleMethod · 0.45

Tested by

no test coverage detected