summaryrefslogtreecommitdiffstats
path: root/src/Core/Requests/DaemonStateUpdateRequest.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-03-12 20:26:36 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-03-12 20:26:36 +0100
commit03e7a5b2fefa08d49ef34e70bfb1d52f0a7d828e (patch)
tree863952edd85e56578e0810adbdccea3a1bf47e61 /src/Core/Requests/DaemonStateUpdateRequest.cpp
parentde5fa3867791bf4bf84a52de8cd09821f9ce28ab (diff)
downloadmad-03e7a5b2fefa08d49ef34e70bfb1d52f0a7d828e.tar
mad-03e7a5b2fefa08d49ef34e70bfb1d52f0a7d828e.zip
Request-Klassen vereinfacht
Diffstat (limited to 'src/Core/Requests/DaemonStateUpdateRequest.cpp')
-rw-r--r--src/Core/Requests/DaemonStateUpdateRequest.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Core/Requests/DaemonStateUpdateRequest.cpp b/src/Core/Requests/DaemonStateUpdateRequest.cpp
index c00468e..abf51de 100644
--- a/src/Core/Requests/DaemonStateUpdateRequest.cpp
+++ b/src/Core/Requests/DaemonStateUpdateRequest.cpp
@@ -33,15 +33,6 @@ void DaemonStateUpdateRequest::sendRequest(Net::Connection *connection, uint16_t
connection->send(packet.encode(requestId));
}
-void DaemonStateUpdateRequest::handlePacket(Net::Connection*, uint16_t, const Common::XmlPacket &packet) {
- if(packet.getType() != "OK") {
- finishWithError(Common::Exception(Common::Exception::UNEXPECTED_PACKET));
- return; // TODO Logging
- }
-
- finish(packet);
-}
-
}
}
}