From: Eduardo Ramos Testillano Date: Wed, 9 Mar 2016 12:22:20 +0000 (+0100) Subject: Fix retransmissions: not only for entities X-Git-Tag: REFACTORING_TESTING_LIBRARY~15 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=3b71d6454d211ec50c2f3e04b04c607c382f2f29;p=anna.git Fix retransmissions: not only for entities --- diff --git a/example/diameter/launcher/Launcher.cpp b/example/diameter/launcher/Launcher.cpp index 2e5b52b..88e4c44 100644 --- a/example/diameter/launcher/Launcher.cpp +++ b/example/diameter/launcher/Launcher.cpp @@ -345,6 +345,7 @@ void Launcher::servicesFromXML(const anna::xml::Node* servicesNode, bool eventOp // Assignments: commEngine->setMaxConnectionDelay(tcpConnectDelayMs); commEngine->setWatchdogPeriod(watchdogPeriodMs); + a_workingNode->setRequestRetransmissions(retransmissions); // Realm information: commEngine->setOriginHost(originHost->getValue()); @@ -365,7 +366,6 @@ void Launcher::servicesFromXML(const anna::xml::Node* servicesNode, bool eventOp // Register one entity for this engine: a_workingNode->createEntity(entity->getValue(), ceaTimeoutMs, answersTimeoutMs); - a_workingNode->setRequestRetransmissions(retransmissions); a_workingNode->getEntity()->setSessionBasedModelsType(sessionBasedModelsType); a_workingNode->getEntity()->setBalance(balance ? (balance->getValue() == "yes") : false); // for sendings if (eventOperation) a_workingNode->getEntity()->bind();