Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
CachingListener.h
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#ifndef _Stroika_Frameworks_UPnP_SSDP_Client_CachingListener_h_
5#define _Stroika_Frameworks_UPnP_SSDP_Client_CachingListener_h_ 1
6
7#include "Stroika/Frameworks/StroikaPreComp.h"
8
10
11/*
12 * TODO:
13 */
14
15namespace Stroika::Frameworks::UPnP::SSDP::Client {
16
17 /**
18 * Add list of found devices, paying attention to aging rules (max-age)
19 *
20 * Unclear how to integrate with search stuff (if we find with search, don't lose it, and if we have other reason to know
21 * device still aroudn don't lose it - like open tcp connection to it).
22 */
23 class CachingListener : public Listener {
24 //lambda onChange callback;
25 //pays attention to max-age falgs;
26 //maintains list;
27 //public method to getMatchingEntriesFound()
28 };
29
30}
31
32/*
33 ********************************************************************************
34 ***************************** Implementation Details ***************************
35 ********************************************************************************
36 */
37#include "CachingListener.inl"
38
39#endif /*_Stroika_Frameworks_UPnP_SSDP_Client_CachingListener_h_*/