diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-03-04 23:14:34 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-03-04 23:14:34 +0100 |
commit | de5fa3867791bf4bf84a52de8cd09821f9ce28ab (patch) | |
tree | c343a7fcdeabe9f982c968d5241d672c351942a7 /src/Core/Requests | |
parent | c316a3115bf790fb623f0765dd6b04f781af5b51 (diff) | |
download | mad-de5fa3867791bf4bf84a52de8cd09821f9ce28ab.tar mad-de5fa3867791bf4bf84a52de8cd09821f9ce28ab.zip |
XmlRequest{,Handler} in Request{,Handler} umbenannt
Diffstat (limited to 'src/Core/Requests')
-rw-r--r-- | src/Core/Requests/CommandRequest.h | 6 | ||||
-rw-r--r-- | src/Core/Requests/DaemonStateUpdateRequest.h | 6 |
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) {} }; } |