diff options
Diffstat (limited to 'src/Daemon/Requests')
-rw-r--r-- | src/Daemon/Requests/IdentifyRequest.h | 6 | ||||
-rw-r--r-- | src/Daemon/Requests/LogRequest.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Daemon/Requests/IdentifyRequest.h b/src/Daemon/Requests/IdentifyRequest.h index c3ab821..5009374 100644 --- a/src/Daemon/Requests/IdentifyRequest.h +++ b/src/Daemon/Requests/IdentifyRequest.h @@ -20,14 +20,14 @@ #ifndef MAD_DAEMON_REQUESTS_IDENTIFYREQUEST_H_ #define MAD_DAEMON_REQUESTS_IDENTIFYREQUEST_H_ -#include <Common/XmlRequest.h> +#include <Common/Request.h> #include <string> namespace Mad { namespace Daemon { namespace Requests { -class IdentifyRequest : public Common::XmlRequest { +class IdentifyRequest : public Common::Request { private: std::string hostname; @@ -36,7 +36,7 @@ class IdentifyRequest : public Common::XmlRequest { virtual void handlePacket(Net::Connection*, uint16_t, const Common::XmlPacket &packet); public: - IdentifyRequest(const std::string &hostname0, slot_type slot) : Common::XmlRequest(slot), hostname(hostname0) {} + IdentifyRequest(const std::string &hostname0, slot_type slot) : Common::Request(slot), hostname(hostname0) {} }; } diff --git a/src/Daemon/Requests/LogRequest.h b/src/Daemon/Requests/LogRequest.h index 2a03ce3..1045a2f 100644 --- a/src/Daemon/Requests/LogRequest.h +++ b/src/Daemon/Requests/LogRequest.h @@ -20,7 +20,7 @@ #ifndef MAD_DAEMON_REQUESTS_LOGREQUEST_H_ #define MAD_DAEMON_REQUESTS_LOGREQUEST_H_ -#include <Common/XmlRequest.h> +#include <Common/Request.h> #include <Common/Logger.h> #include <ctime> @@ -28,7 +28,7 @@ namespace Mad { namespace Daemon { namespace Requests { -class LogRequest : public Common::XmlRequest { +class LogRequest : public Common::Request { private: Common::Logger::MessageCategory category; Common::Logger::MessageLevel level; @@ -41,7 +41,7 @@ class LogRequest : public Common::XmlRequest { public: LogRequest(Common::Logger::MessageCategory category0, Common::Logger::MessageLevel level0, time_t messageTimestamp0, const std::string &message0, slot_type slot) - : Common::XmlRequest(slot), category(category0), level(level0), messageTimestamp(messageTimestamp0), message(message0) {} + : Common::Request(slot), category(category0), level(level0), messageTimestamp(messageTimestamp0), message(message0) {} }; } |