diff options
Diffstat (limited to 'src/Client/CommandManager.cpp')
-rw-r--r-- | src/Client/CommandManager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Client/CommandManager.cpp b/src/Client/CommandManager.cpp index bcb3429..3bfc3a6 100644 --- a/src/Client/CommandManager.cpp +++ b/src/Client/CommandManager.cpp @@ -20,7 +20,7 @@ #include "CommandManager.h" #include <Common/HostInfo.h> #include <Common/Logger.h> -#include <Common/XmlRequest.h> +#include <Common/Request.h> #include <cmath> #include <iostream> @@ -136,7 +136,7 @@ void CommandManager::printHostStatus(const Common::XmlPacket &packet) { } -void CommandManager::daemonCommandRequestFinished(const Common::XmlRequest &request) { +void CommandManager::daemonCommandRequestFinished(const Common::Request &request) { try { request.getResult(); } @@ -147,7 +147,7 @@ void CommandManager::daemonCommandRequestFinished(const Common::XmlRequest &requ requestFinished(); } -void CommandManager::daemonFSInfoRequestFinished(const Common::XmlRequest &request) { +void CommandManager::daemonFSInfoRequestFinished(const Common::Request &request) { try { const Common::XmlPacket &packet = request.getResult(); std::cout << "Host file system usage:" << std::endl; @@ -160,7 +160,7 @@ void CommandManager::daemonFSInfoRequestFinished(const Common::XmlRequest &reque requestFinished(); } -void CommandManager::daemonStatusRequestFinished(const Common::XmlRequest &request) { +void CommandManager::daemonStatusRequestFinished(const Common::Request &request) { try { const Common::XmlPacket &packet = request.getResult(); std::cout << "Host status:" << std::endl; @@ -173,7 +173,7 @@ void CommandManager::daemonStatusRequestFinished(const Common::XmlRequest &reque requestFinished(); } -void CommandManager::disconnectRequestFinished(const Common::XmlRequest &request) { +void CommandManager::disconnectRequestFinished(const Common::Request &request) { try { request.getResult(); disconnect = true; @@ -185,7 +185,7 @@ void CommandManager::disconnectRequestFinished(const Common::XmlRequest &request requestFinished(); } -void CommandManager::fsInfoRequestFinished(const Common::XmlRequest &request) { +void CommandManager::fsInfoRequestFinished(const Common::Request &request) { try { const Common::XmlPacket &packet = request.getResult(); std::cout << "Server file system usage:" << std::endl; @@ -198,7 +198,7 @@ void CommandManager::fsInfoRequestFinished(const Common::XmlRequest &request) { requestFinished(); } -void CommandManager::statusRequestFinished(const Common::XmlRequest &request) { +void CommandManager::statusRequestFinished(const Common::Request &request) { try { const Common::XmlPacket &packet = request.getResult(); std::cout << "Server status:" << std::endl; @@ -211,7 +211,7 @@ void CommandManager::statusRequestFinished(const Common::XmlRequest &request) { requestFinished(); } -void CommandManager::userListRequestFinished(const Common::XmlRequest &request) { +void CommandManager::userListRequestFinished(const Common::Request &request) { try { const Common::XmlPacket &packet = request.getResult(); |