refs #846, improved start and waitForSetup

* directly wait for setup after triggering read
* use more detailed status messages
* in case of severe issues directly stop application
This commit is contained in:
Klaus Basan
2016-12-29 01:16:27 +01:00
committed by Mathew Sutcliffe
parent 83dad62d4b
commit 235673123d
2 changed files with 77 additions and 52 deletions

View File

@@ -307,10 +307,10 @@ namespace BlackCore
virtual void gracefulShutdown();
//! Start services, if not yet parsed call CApplication::parse
virtual bool start(bool waitForStart = true);
virtual bool start();
//! Wait for stert by calling the event loop and waiting until everything is ready
bool waitForStart();
//! Wait for setup data by calling the event loop and waiting until everything is ready
BlackMisc::CStatusMessageList waitForSetup();
//! Request to get network reply
//! \threadsafe