namespace Components { class Discovery : public Component { public: Discovery(); ~Discovery(); #if defined(DEBUG) || defined(FORCE_UNIT_TESTS) const char* getName() { return "Discovery"; }; #endif static void Perform(); private: static bool IsTerminating; static bool IsPerforming; static std::thread Thread; static std::string Challenge; }; }