BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
GWResponseWithAck.h
1 #pragma once
2 
3 #include <Poco/SharedPtr.h>
4 #include <Poco/JSON/Object.h>
5 
6 #include "gwmessage/GWResponse.h"
7 
8 namespace BeeeOn {
9 
16 class GWResponseWithAck : public GWResponse {
17 public:
18  typedef Poco::SharedPtr<GWResponseWithAck> Ptr;
19 
21  GWResponseWithAck(const Poco::JSON::Object::Ptr object);
22 
23 protected:
24  GWResponseWithAck(const GWMessageTypeEnum::Raw &type);
25 };
26 
27 }
GWMessageType type() const
Returns the type of the message.
Definition: GWMessage.cpp:55
Represents a response to a request message (subclass of a GWRequest). The GWResponse can be used alon...
Definition: GWResponse.h:55
Deprecated. Represents a response to a request message (subclass of a GWRequest), that requires ackno...
Definition: GWResponseWithAck.h:16