BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
GWDeviceListRequest.h
1 #pragma once
2 
3 #include <Poco/SharedPtr.h>
4 #include <Poco/JSON/Object.h>
5 
6 #include "gwmessage/GWRequest.h"
7 #include "model/DevicePrefix.h"
8 
9 namespace BeeeOn {
10 
27 public:
28  typedef Poco::SharedPtr<GWDeviceListRequest> Ptr;
29 
31  GWDeviceListRequest(const Poco::JSON::Object::Ptr object);
32 
33  void setDevicePrefix(const DevicePrefix &prefix);
34  DevicePrefix devicePrefix() const;
35 
36 protected:
37  GWResponse::Ptr deriveResponse() const override;
38 };
39 
40 }
Abstract class representing a request message. The GWRequest can not be used alone, but it must be inherited by a specific request object.
Definition: GWRequest.h:25
Represents a message sent by the gateway to the server, intended to requests a list of paired devices...
Definition: GWDeviceListRequest.h:26