summaryrefslogtreecommitdiffstats
path: root/src/Core/Requests/DaemonStateUpdateRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Requests/DaemonStateUpdateRequest.cpp')
-rw-r--r--src/Core/Requests/DaemonStateUpdateRequest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Core/Requests/DaemonStateUpdateRequest.cpp b/src/Core/Requests/DaemonStateUpdateRequest.cpp
index abf51de..c8a813b 100644
--- a/src/Core/Requests/DaemonStateUpdateRequest.cpp
+++ b/src/Core/Requests/DaemonStateUpdateRequest.cpp
@@ -18,19 +18,18 @@
*/
#include "DaemonStateUpdateRequest.h"
-#include <Net/Connection.h>
namespace Mad {
namespace Core {
namespace Requests {
-void DaemonStateUpdateRequest::sendRequest(Net::Connection *connection, uint16_t requestId) {
+void DaemonStateUpdateRequest::sendRequest() {
Common::XmlPacket packet;
packet.setType("UpdateHostState");
packet.add("name", name);
packet.add("state", state);
- connection->send(packet.encode(requestId));
+ sendPacket(packet);
}
}