summaryrefslogtreecommitdiffstats
path: root/src/Daemon
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-09-04 00:24:42 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-09-04 00:24:42 +0200
commit1eb9f4df776adc5dc5cf74a587288199bbf8b703 (patch)
tree42c3950b6d69c65f859db0a4d290c5408597a7bd /src/Daemon
parent197582bcf7458cafb571fde7d37ef4415d0d8f4a (diff)
downloadmad-1eb9f4df776adc5dc5cf74a587288199bbf8b703.tar
mad-1eb9f4df776adc5dc5cf74a587288199bbf8b703.zip
Renamed: XmlPacket -> XmlData
Diffstat (limited to 'src/Daemon')
-rw-r--r--src/Daemon/RequestHandlers/CommandRequestHandler.cpp2
-rw-r--r--src/Daemon/RequestHandlers/CommandRequestHandler.h2
-rw-r--r--src/Daemon/Requests/LogRequest.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Daemon/RequestHandlers/CommandRequestHandler.cpp b/src/Daemon/RequestHandlers/CommandRequestHandler.cpp
index 6c245f9..e3d34e5 100644
--- a/src/Daemon/RequestHandlers/CommandRequestHandler.cpp
+++ b/src/Daemon/RequestHandlers/CommandRequestHandler.cpp
@@ -24,7 +24,7 @@ namespace Mad {
namespace Daemon {
namespace RequestHandlers {
-void CommandRequestHandler::handleRequest(boost::shared_ptr<const Common::XmlPacket> packet, Common::XmlPacket *ret) {
+void CommandRequestHandler::handleRequest(boost::shared_ptr<const Common::XmlData> packet, Common::XmlData *ret) {
if(!getConnection()->isAuthenticated())
throw(Core::Exception(Core::Exception::PERMISSION));
diff --git a/src/Daemon/RequestHandlers/CommandRequestHandler.h b/src/Daemon/RequestHandlers/CommandRequestHandler.h
index 188b3d4..2e6addd 100644
--- a/src/Daemon/RequestHandlers/CommandRequestHandler.h
+++ b/src/Daemon/RequestHandlers/CommandRequestHandler.h
@@ -30,7 +30,7 @@ namespace RequestHandlers {
class MAD_DAEMON_EXPORT CommandRequestHandler : public Common::RequestHandlers::SimpleRequestHandler {
private:
- void handleRequest(boost::shared_ptr<const Common::XmlPacket> packet, Common::XmlPacket *ret);
+ void handleRequest(boost::shared_ptr<const Common::XmlData> packet, Common::XmlData *ret);
public:
CommandRequestHandler(Common::Application *application)
diff --git a/src/Daemon/Requests/LogRequest.cpp b/src/Daemon/Requests/LogRequest.cpp
index 9266420..0282649 100644
--- a/src/Daemon/Requests/LogRequest.cpp
+++ b/src/Daemon/Requests/LogRequest.cpp
@@ -26,7 +26,7 @@ namespace Daemon {
namespace Requests {
void LogRequest::sendRequest() {
- Common::XmlPacket packet;
+ Common::XmlData packet;
packet.setType("Log");