Identifier list was filled and more and more identifiers got checked via DBus

- identifier set if only one unique identifer is needed
- using set avoids duplicates and fixes the bug
- restart time if registered, no need to check again
This commit is contained in:
Klaus Basan
2018-08-20 18:15:31 +02:00
parent f1312bbb50
commit b610ff1087
5 changed files with 107 additions and 4 deletions

View File

@@ -15,7 +15,7 @@
#include "blackcore/blackcoreexport.h"
#include "blackcore/context/contextapplication.h"
#include "blackcore/corefacadeconfig.h"
#include "blackmisc/identifierlist.h"
#include "blackmisc/identifierset.h"
#include "blackmisc/statusmessage.h"
#include "blackmisc/valuecache.h"
@@ -90,7 +90,7 @@ namespace BlackCore
private:
BlackMisc::CGenericDBusInterface *m_dBusInterface = nullptr; //!< interface
BlackMisc::CIdentifierList m_proxyPingIdentifiers; //!< automatically ping the implementing side
BlackMisc::CIdentifierSet m_proxyPingIdentifiers; //!< automatically ping the implementing side
QTimer m_pingTimer;
//! Relay connection signals to local signals