3 #include <Poco/JSON/Object.h>
5 #include "gwmessage/GWMessage.h"
6 #include "gwmessage/GWResponse.h"
29 typedef Poco::SharedPtr<GWAck> Ptr;
32 GWAck(
const Poco::JSON::Object::Ptr
object);
35 GWAck(
const GWMessageTypeEnum::Raw &
type);
The GWMessage is abstract class representing messages (including their contents), that are being sent...
Definition: GWMessage.h:21
GWMessageType type() const
Returns the type of the message.
Definition: GWMessage.cpp:55
Status
Definition: GWResponse.h:59
Represents an acknowledgement, that a response of the given id and status has been really delivered...
Definition: GWAck.h:27
void setStatus(GWResponse::Status status)
Set a status intended to match a proper response.
Definition: GWAck.cpp:22
GWResponse::Status status() const
Returns a status intended to match a proper response.
Definition: GWAck.cpp:27