From: Eduardo Ramos Testillano Date: Wed, 29 Jul 2015 20:31:48 +0000 (+0200) Subject: Remove temporary X-Git-Tag: REFACTORING_TESTING_LIBRARY~119 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=c82a3818b279727e943a76343f3cf1a278ac9e19;p=anna.git Remove temporary --- diff --git a/example/diameter/launcher/Launcher.cpp b/example/diameter/launcher/Launcher.cpp index 2cf882d..a21466a 100644 --- a/example/diameter/launcher/Launcher.cpp +++ b/example/diameter/launcher/Launcher.cpp @@ -1013,7 +1013,6 @@ void Launcher::eventOperation(const std::string &operation, std::string &respons response_content = "Operation processed with exception. See traces\n"; // supposed std::string result = ""; anna::DataBlock db_aux(true); - anna::diameter::codec::Message codecMsg(getCodecEngine()); /////////////////////////////////////////////////////////////////// // Simple operations without arguments: @@ -1122,6 +1121,7 @@ void Launcher::eventOperation(const std::string &operation, std::string &respons MyDiameterEntity *entity = getWorkingNode()->getEntity(); MyDiameterEngine *commEngine = getWorkingNode()->getMyDiameterEngine(); MyLocalServer *localServer = getWorkingNode()->getDiameterServer(); + anna::diameter::codec::Message codecMsg(getCodecEngine()); if(opType == "code") { @@ -1368,7 +1368,7 @@ void Launcher::eventOperation(const std::string &operation, std::string &respons } else if (param1 == "dump") { localServer->getReactingAnswers()->dump(); } else { - anna::diameter::codec::Message *message = getCodecEngine()->createMessage(param1); // // XXXXXXXXXXXXXX el del nodo de trabajo + anna::diameter::codec::Message *message = getCodecEngine()->createMessage(param1); LOGDEBUG ( anna::Logger::debug(message->asXMLString(), ANNA_FILE_LOCATION); @@ -1398,7 +1398,7 @@ void Launcher::eventOperation(const std::string &operation, std::string &respons } else if (param1 == "dump") { entity->getReactingAnswers()->dump(); } else { - anna::diameter::codec::Message *message = getCodecEngine()->createMessage(param1); // XXXXXXXXXXXXXX el del nodo de trabajo + anna::diameter::codec::Message *message = getCodecEngine()->createMessage(param1); LOGDEBUG ( anna::Logger::debug(message->asXMLString(), ANNA_FILE_LOCATION); diff --git a/example/diameter/launcher/RealmNode.cpp b/example/diameter/launcher/RealmNode.cpp index 7e69337..c61bbe4 100644 --- a/example/diameter/launcher/RealmNode.cpp +++ b/example/diameter/launcher/RealmNode.cpp @@ -372,7 +372,7 @@ std::string RealmNode::lookBurst(int order) const throw() { if(it != a_burstMessages.end()) { // Decode - anna::diameter::codec::Message codecMsg(getCodecEngine()); // XXXXXXXXXXXXXXXX el del nodo de trabajo + anna::diameter::codec::Message codecMsg(getCodecEngine()); try { codecMsg.decode((*it).second->getBody()); } catch(anna::RuntimeException &ex) { ex.trace(); } result = codecMsg.asXMLString(); } diff --git a/source/diameter.comm/ClientSession.cpp b/source/diameter.comm/ClientSession.cpp index 5a7ca94..6a535a3 100644 --- a/source/diameter.comm/ClientSession.cpp +++ b/source/diameter.comm/ClientSession.cpp @@ -41,11 +41,6 @@ #include // rand() #include -// XXXXXXXXXX -#include - - - using namespace std; using namespace anna::diameter;