35 Enter_Method_Silent();
39 maxTier =
new char[6];
40 strcpy(maxTier,
"tier0");
41 maxTier[4] += par(
"numTiers").longValue();
44 underlayConfigurator->initFinished();
55 Enter_Method_Silent();
59 cGate* inGate = simulation.getModule(peer->
getModuleID())->getSubmodule(maxTier)->gate(
"trace_in");
61 throw cRuntimeError(
"Application has no trace_in gate. Most probably "
62 "that means it is not able to handle trace data.");
70 Enter_Method_Silent();
73 UNORDERED_MAP<int, nodeMapEntry*>::iterator it = nodeMap.find(nodeId);
75 if (it == nodeMap.end()) {
76 throw cRuntimeError(
"Trying to delete non-existing node");
80 underlayConfigurator->preKillNode(
NodeType(), e->first);
87 UNORDERED_MAP<int, nodeMapEntry*>::iterator it = nodeMap.find(nodeId);
89 if (it == nodeMap.end()) {
90 throw cRuntimeError(
"Trying to get TransportAddress of nonexisting node");
93 return it->second->first;
97 UNORDERED_MAP<int, nodeMapEntry*>::iterator it = nodeMap.find(nodeId);
99 if (it == nodeMap.end()) {
100 throw cRuntimeError(
"Trying to get appGate of nonexisting node");
103 return it->second->second;
109 sprintf(buf,
"trace churn");
110 getDisplayString().setTagArg(
"t", 0, buf);