summaryrefslogtreecommitdiffstats
path: root/src/Client/Requests/DaemonCommandRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client/Requests/DaemonCommandRequest.cpp')
-rw-r--r--src/Client/Requests/DaemonCommandRequest.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Client/Requests/DaemonCommandRequest.cpp b/src/Client/Requests/DaemonCommandRequest.cpp
index 6e82c60..7b444cd 100644
--- a/src/Client/Requests/DaemonCommandRequest.cpp
+++ b/src/Client/Requests/DaemonCommandRequest.cpp
@@ -34,19 +34,6 @@ void DaemonCommandRequest::sendRequest(Net::Connection *connection, uint16_t req
connection->send(packet.encode(requestId));
}
-void DaemonCommandRequest::handlePacket(Net::Connection*, uint16_t, const Common::XmlPacket &packet) {
- if(packet.getType() == "Error") {
- finishWithError(Common::Exception(packet["Where"], packet["ErrorCode"], packet["SubCode"], packet["SubSubCode"]));
- return;
- }
- else if(packet.getType() != "OK") {
- finishWithError(Common::Exception(Common::Exception::UNEXPECTED_PACKET));
- return; // TODO Logging
- }
-
- finish(packet);
-}
-
}
}
}