summaryrefslogtreecommitdiffstats
path: root/src/Core/Requests/CommandRequest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Requests/CommandRequest.h')
-rw-r--r--src/Core/Requests/CommandRequest.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Core/Requests/CommandRequest.h b/src/Core/Requests/CommandRequest.h
index 181fa4d..534fcef 100644
--- a/src/Core/Requests/CommandRequest.h
+++ b/src/Core/Requests/CommandRequest.h
@@ -20,22 +20,22 @@
#ifndef MAD_CORE_REQUESTS_COMMANDREQUEST_H_
#define MAD_CORE_REQUESTS_COMMANDREQUEST_H_
-#include <Common/Request.h>
+#include <Common/XmlRequest.h>
namespace Mad {
namespace Core {
namespace Requests {
-class CommandRequest : public Common::Request<> {
+class CommandRequest : public Common::XmlRequest {
private:
bool reboot;
protected:
virtual void sendRequest(Net::Connection *connection, uint16_t requestId);
- virtual void handlePacket(Net::Connection *connection, const Net::Packet &packet);
+ virtual void handlePacket(Net::Connection*, uint16_t, const Common::XmlPacket &packet);
public:
- CommandRequest(bool reboot0, slot_type slot) : Common::Request<>(slot), reboot(reboot0) {}
+ CommandRequest(bool reboot0, slot_type slot) : Common::XmlRequest(slot), reboot(reboot0) {}
};
}