3 #include <Poco/SharedPtr.h>
4 #include <Poco/Timespan.h>
5 #include <Poco/JSON/Object.h>
7 #include "gwmessage/GWRequest.h"
8 #include "model/DeviceID.h"
9 #include "model/ModuleID.h"
10 #include "model/OpMode.h"
36 typedef Poco::SharedPtr<GWSetValueRequest> Ptr;
41 void setDeviceID(
const DeviceID &deviceID);
44 void setModuleID(
const ModuleID &moduleID);
47 void setValue(
double value);
50 void setTimeout(
const Poco::Timespan &timeout);
51 Poco::Timespan timeout()
const;
53 void setMode(
const OpMode &mode);
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
Definition: ModuleID.h:12
Represents a message sent by the server to the gateway, intended to change state of an active module ...
Definition: GWSetValueRequest.h:34
Definition: DeviceID.h:17