Ref T150, use network watchdog with web data services

* removed own checks and use watchdog
* connect with readers to avoid redundant checks
This commit is contained in:
Klaus Basan
2017-09-14 02:45:35 +02:00
committed by Mathew Sutcliffe
parent 46d2f2c048
commit a4de52852d
2 changed files with 10 additions and 18 deletions

View File

@@ -119,9 +119,6 @@ namespace BlackCore
//! Reader flags
CWebReaderFlags::WebReader getReaderFlags() const { return m_readers; }
//! Currently used URL for shared DB data
BlackMisc::Network::CUrl getDbReaderCurrentSharedDbDataUrl() const;
//! All DB entities for those readers used and not ignored
BlackMisc::Network::CEntityFlags::Entity allDbEntitiesForUsedReaders() const;
@@ -404,9 +401,6 @@ namespace BlackCore
//! Has already connect swift DB?
bool hasConnectedSwiftDb() const;
//! Can connect swift DB?
bool canConnectSwiftDb(bool strict = false) const;
//! Reset the flags what was already signaled
void resetSignalFlags();
@@ -426,6 +420,9 @@ namespace BlackCore
//! Combined read signal
void dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number);
//! DB data read
void swiftDbDataRead(bool success);
// simplified signals follow
// 1) simple signature
// 2) fired directly after read, no need to wait for other entities