summaryrefslogtreecommitdiffstats
path: root/src/Server/Requests
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server/Requests')
-rw-r--r--src/Server/Requests/CommandRequest.h3
-rw-r--r--src/Server/Requests/DaemonStateUpdateRequest.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/Server/Requests/CommandRequest.h b/src/Server/Requests/CommandRequest.h
index feb33be..8221b14 100644
--- a/src/Server/Requests/CommandRequest.h
+++ b/src/Server/Requests/CommandRequest.h
@@ -34,8 +34,7 @@ class CommandRequest : public Common::Request {
virtual void sendRequest();
public:
- CommandRequest(Common::Connection *connection, uint16_t requestId, slot_type slot, bool reboot0)
- : Common::Request(connection, requestId, slot), reboot(reboot0) {}
+ CommandRequest(bool reboot0) : reboot(reboot0) {}
};
}
diff --git a/src/Server/Requests/DaemonStateUpdateRequest.h b/src/Server/Requests/DaemonStateUpdateRequest.h
index 6debb06..c3ed792 100644
--- a/src/Server/Requests/DaemonStateUpdateRequest.h
+++ b/src/Server/Requests/DaemonStateUpdateRequest.h
@@ -36,8 +36,8 @@ class DaemonStateUpdateRequest : public Common::Request {
virtual void sendRequest();
public:
- DaemonStateUpdateRequest(Common::Connection *connection, uint16_t requestId, slot_type slot, const std::string &name0, Common::HostInfo::State state0)
- : Common::Request(connection, requestId, slot), name(name0), state(state0) {}
+ DaemonStateUpdateRequest(const std::string &name0, Common::HostInfo::State state0)
+ : name(name0), state(state0) {}
};
}