BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
ServerDeviceListCommand.h
1 #pragma once
2 
3 #include "core/Command.h"
4 #include "model/DevicePrefix.h"
5 
6 namespace BeeeOn {
7 
8 /*
9  * List of joined devices serves for device discovery,
10  * with which this device manager (identified by DevicePrefix)
11  * can communicate. This information should not be saved
12  * directly on gateway.
13  */
15 public:
16  typedef Poco::AutoPtr<ServerDeviceListCommand> Ptr;
17 
19 
20  DevicePrefix devicePrefix() const;
21 
22  std::string toString() const override;
23 
24 protected:
26 
27 private:
28  DevicePrefix m_prefix;
29 };
30 
31 }
Definition: Command.h:25
Definition: ServerDeviceListCommand.h:14
std::string toString() const override
Definition: ServerDeviceListCommand.cpp:21