24 #include <IPAddressResolver.h>
54 if(std::string(testMsg->getName()) ==
"CALL") {
59 std::string tempString =
"Message received: \"" + std::string(testMsg->
getMsg()) +
"\"";
61 getParentModule()->getParentModule()->bubble(tempString.c_str());
64 getParentModule()->getParentModule()->getDisplayString().setTagArg(
"i2", 1,
"green");
75 tempString =
"Reply to: \"" + std::string(testMsg->
getMsg()) +
"\" from "
78 answerMsg->
setMsg(tempString.c_str());
79 callRoute(overlayCtrlInfo->getSrcNode().getKey(), answerMsg, overlayCtrlInfo->getSrcNode());
82 }
else if(std::string(testMsg->getName()) ==
"ANSWER") {
83 if(gate(
"to_upperTier")->getNextGate()->isConnectedOutside())
84 send(msg,
"to_upperTier");
89 delete overlayCtrlInfo;
95 callMsg->setName(
"CALL");
101 getParentModule()->getParentModule()->getDisplayString().setTagArg(
"i2", 1,
"");