Implement use of Inventory API
This commit is contained in:
+4
-1
@@ -21,15 +21,18 @@ public:
|
||||
void Wait();
|
||||
|
||||
private:
|
||||
void UpdateDevicesFromInventory();
|
||||
void UpdatePresentDevices();
|
||||
void SendStateChange(bool present, const std::string& macAddress);
|
||||
|
||||
private:
|
||||
Util::Timer m_timer;
|
||||
Util::Timer m_deviceTimer;
|
||||
Util::Timer m_inventoryTimer;
|
||||
Util::HttpClient m_httpClient;
|
||||
|
||||
std::vector<std::string> m_devices;
|
||||
|
||||
std::string m_inventoryURL;
|
||||
std::string m_target;
|
||||
|
||||
std::vector<std::string> m_presentDevices;
|
||||
|
||||
Reference in New Issue
Block a user