diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-13 00:56:59 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-13 00:56:59 +0200 |
commit | e0a00eda958375aed3268afcba6cebb9c2a9908b (patch) | |
tree | 5ef0949b4674ee981e3751c89e115353050be36f /src/Core | |
parent | 3a3751f02a3efdc079c3f79987da59b234813f16 (diff) | |
download | mad-e0a00eda958375aed3268afcba6cebb9c2a9908b.tar mad-e0a00eda958375aed3268afcba6cebb9c2a9908b.zip |
Daemon hinzugef?gt; CoreStatusPacket hei?t jetzt HostStatusPacket
Diffstat (limited to 'src/Core')
-rw-r--r-- | src/Core/RequestHandler/CoreStatusRequestHandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/RequestHandler/CoreStatusRequestHandler.h b/src/Core/RequestHandler/CoreStatusRequestHandler.h index 3cfa947..c895dd5 100644 --- a/src/Core/RequestHandler/CoreStatusRequestHandler.h +++ b/src/Core/RequestHandler/CoreStatusRequestHandler.h @@ -22,7 +22,7 @@ #include <Common/RequestHandler.h> #include <Common/SystemBackend.h> -#include <Net/Packets/CoreStatusPacket.h> +#include <Net/Packets/HostStatusPacket.h> #include <cstring> #include <gssapi/gssapi.h> @@ -49,7 +49,7 @@ class CoreStatusRequestHandler : public Common::RequestHandler { Common::SystemBackend::UptimeInfo uptimeInfo = Common::SystemBackend::getBackend()->getUptimeInfo(); Common::SystemBackend::MemoryInfo memInfo = Common::SystemBackend::getBackend()->getMemoryInfo(); - if(!connection->send(Net::Packets::CoreStatusPacket(Net::Packet::OK, packet.getRequestId(), uptimeInfo.uptime, uptimeInfo.idleTime, + if(!connection->send(Net::Packets::HostStatusPacket(Net::Packet::OK, packet.getRequestId(), uptimeInfo.uptime, uptimeInfo.idleTime, memInfo.totalMem, memInfo.freeMem, memInfo.totalSwap, memInfo.freeSwap))) return false; |