2016-08-07 10:50:04 -04:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Discovery : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Discovery();
|
|
|
|
~Discovery();
|
2016-08-15 10:40:30 -04:00
|
|
|
|
2016-09-16 05:04:28 -04:00
|
|
|
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
|
2016-11-20 08:09:07 -05:00
|
|
|
const char* getName() { return "Discovery"; };
|
2016-08-15 10:40:30 -04:00
|
|
|
#endif
|
2016-08-07 10:50:04 -04:00
|
|
|
|
|
|
|
static void Perform();
|
|
|
|
|
|
|
|
private:
|
2016-11-20 08:09:07 -05:00
|
|
|
static bool IsTerminating;
|
|
|
|
static bool IsPerforming;
|
|
|
|
static std::thread Thread;
|
|
|
|
static std::string Challenge;
|
2016-08-07 10:50:04 -04:00
|
|
|
};
|
|
|
|
}
|