Searched refs:MdnsRecordTracker (Results 1 – 6 of 6) sorted by relevance
131 MdnsRecordTracker::MdnsRecordTracker( in MdnsRecordTracker() function in openscreen::discovery::MdnsRecordTracker162 MdnsRecordTracker::~MdnsRecordTracker() = default;164 ErrorOr<MdnsRecordTracker::UpdateType> MdnsRecordTracker::Update( in Update()217 bool MdnsRecordTracker::AddAssociatedQuery( in AddAssociatedQuery()222 bool MdnsRecordTracker::RemoveAssociatedQuery( in RemoveAssociatedQuery()227 void MdnsRecordTracker::ExpireSoon() { in ExpireSoon()241 void MdnsRecordTracker::ExpireNow() { in ExpireNow()245 bool MdnsRecordTracker::IsNearingExpiry() const { in IsNearingExpiry()249 bool MdnsRecordTracker::SendQuery() const { in SendQuery()263 void MdnsRecordTracker::ScheduleFollowUpQuery() { in ScheduleFollowUpQuery()[all …]
103 std::unique_ptr<MdnsRecordTracker> CreateRecordTracker( in CreateRecordTracker()106 return std::make_unique<MdnsRecordTracker>( in CreateRecordTracker()108 [this](const MdnsRecordTracker* tracker, const MdnsRecord& record) { in CreateRecordTracker()113 std::unique_ptr<MdnsRecordTracker> CreateRecordTracker( in CreateRecordTracker()139 const MdnsRecord& GetRecord(MdnsRecordTracker* tracker) { in GetRecord()198 std::unique_ptr<MdnsRecordTracker> tracker = CreateRecordTracker(a_record_); in TEST_F()212 std::unique_ptr<MdnsRecordTracker> tracker = CreateRecordTracker(a_record_); in TEST_F()241 std::unique_ptr<MdnsRecordTracker> tracker = CreateRecordTracker(a_record_); in TEST_F()256 std::unique_ptr<MdnsRecordTracker> tracker = CreateRecordTracker(a_record_); in TEST_F()261 std::unique_ptr<MdnsRecordTracker> tracker = CreateRecordTracker(a_record_); in TEST_F()[all …]
26 class MdnsRecordTracker; variable83 std::reference_wrapper<const MdnsRecordTracker>;85 std::function<bool(const MdnsRecordTracker&)>;86 using TrackerChangeCallback = std::function<void(const MdnsRecordTracker&)>;123 const MdnsRecordTracker& StartTracking(MdnsRecord record, DnsType type);128 using LruList = std::list<MdnsRecordTracker>;167 void OnRecordExpired(const MdnsRecordTracker* tracker,189 const MdnsRecordTracker& tracker);
103 class MdnsRecordTracker : public MdnsTracker {106 std::function<void(const MdnsRecordTracker*, const MdnsRecord&)>;110 MdnsRecordTracker(MdnsRecord record,118 ~MdnsRecordTracker() override;218 bool AddAssociatedRecord(const MdnsRecordTracker* record_tracker) const;219 bool RemoveAssociatedRecord(const MdnsRecordTracker* record_tracker) const;
241 std::vector<std::reference_wrapper<const MdnsRecordTracker>>246 std::vector<std::reference_wrapper<const MdnsRecordTracker>>253 const MdnsRecordTracker& tracker = *it->second; in Find()298 return Update(record, check, [](const MdnsRecordTracker& t) {}); in Update()319 if (result.value() == MdnsRecordTracker::UpdateType::kGoodbye) { in Update()324 if (result.value() == MdnsRecordTracker::UpdateType::kRdata) { in Update()334 const MdnsRecordTracker& MdnsQuerier::RecordTrackerLruCache::StartTracking( in StartTracking()337 auto expiration_callback = [this](const MdnsRecordTracker* tracker, in StartTracking()437 for (const MdnsRecordTracker& tracker : trackers) { in StartQuery()526 records_.Erase(name, [](const MdnsRecordTracker& tracker) { return true; }); in ReinitializeQueries()[all …]
157 [&record](const MdnsRecordTracker& tracker) { in ContainsRecord()