3 #include <Poco/SharedPtr.h>
4 #include <Poco/Timestamp.h>
5 #include <Poco/JSON/Object.h>
7 #include "gwmessage/GWRequest.h"
8 #include "model/Severity.h"
45 typedef Poco::SharedPtr<GWNoticeRequest> Ptr;
50 void setAt(
const Poco::Timestamp &at);
51 Poco::Timestamp at()
const;
53 void setSeverity(
const Severity &severity);
56 void setKey(
const std::string &key);
57 std::string key()
const;
59 void setContext(
const Poco::JSON::Object::Ptr context);
60 Poco::JSON::Object::Ptr context()
const;
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
GWNoticeRequest allows a gateway to send a notice about something that happen. It can report progress...
Definition: GWNoticeRequest.h:43