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:
MyDiameterEntity *entity = getWorkingNode()->getEntity();
MyDiameterEngine *commEngine = getWorkingNode()->getMyDiameterEngine();
MyLocalServer *localServer = getWorkingNode()->getDiameterServer();
+ anna::diameter::codec::Message codecMsg(getCodecEngine());
if(opType == "code") {
} 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);
} 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);
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();
}