summaryrefslogtreecommitdiffstats
path: root/src/Core/Requests
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Requests')
-rw-r--r--src/Core/Requests/CommandRequest.h6
-rw-r--r--src/Core/Requests/DaemonStateUpdateRequest.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Core/Requests/CommandRequest.h b/src/Core/Requests/CommandRequest.h
index 534fcef..9c6c70d 100644
--- a/src/Core/Requests/CommandRequest.h
+++ b/src/Core/Requests/CommandRequest.h
@@ -20,13 +20,13 @@
#ifndef MAD_CORE_REQUESTS_COMMANDREQUEST_H_
#define MAD_CORE_REQUESTS_COMMANDREQUEST_H_
-#include <Common/XmlRequest.h>
+#include <Common/Request.h>
namespace Mad {
namespace Core {
namespace Requests {
-class CommandRequest : public Common::XmlRequest {
+class CommandRequest : public Common::Request {
private:
bool reboot;
@@ -35,7 +35,7 @@ class CommandRequest : public Common::XmlRequest {
virtual void handlePacket(Net::Connection*, uint16_t, const Common::XmlPacket &packet);
public:
- CommandRequest(bool reboot0, slot_type slot) : Common::XmlRequest(slot), reboot(reboot0) {}
+ CommandRequest(bool reboot0, slot_type slot) : Common::Request(slot), reboot(reboot0) {}
};
}
diff --git a/src/Core/Requests/DaemonStateUpdateRequest.h b/src/Core/Requests/DaemonStateUpdateRequest.h
index 84c23e8..f1466b2 100644
--- a/src/Core/Requests/DaemonStateUpdateRequest.h
+++ b/src/Core/Requests/DaemonStateUpdateRequest.h
@@ -20,14 +20,14 @@
#ifndef MAD_CORE_REQUESTS_DAEMONSTATEUPDATEREQUEST_H_
#define MAD_CORE_REQUESTS_DAEMONSTATEUPDATEREQUEST_H_
-#include <Common/XmlRequest.h>
+#include <Common/Request.h>
#include <Common/HostInfo.h>
namespace Mad {
namespace Core {
namespace Requests {
-class DaemonStateUpdateRequest : public Common::XmlRequest {
+class DaemonStateUpdateRequest : public Common::Request {
private:
std::string name;
Common::HostInfo::State state;
@@ -37,7 +37,7 @@ class DaemonStateUpdateRequest : public Common::XmlRequest {
virtual void handlePacket(Net::Connection*, uint16_t, const Common::XmlPacket &packet);
public:
- DaemonStateUpdateRequest(const std::string &name0, Common::HostInfo::State state0) : Common::XmlRequest(slot_type()), name(name0), state(state0) {}
+ DaemonStateUpdateRequest(const std::string &name0, Common::HostInfo::State state0) : Common::Request(slot_type()), name(name0), state(state0) {}
};
}