49 throw cRuntimeError(
"A PastryStateObject should never receive a message!");
79 for (
int i = 0; i < lsSize; i++) {
81 rtt = prox ? (*(prox->
pr_ls.begin() + i)) : SimTime::getMaxTime();
84 if (!(rtt < 0 || node->isUnspecified() || *node ==
owner ||
85 static_cast<TransportAddress>(*node) ==
owner)) {
91 for (
int i = 0; i < rtSize; i++) {
93 rtt = prox ? (*(prox->
pr_rt.begin() + i)) : SimTime::getMaxTime();
96 if (!(rtt < 0 || node->isUnspecified() || *node ==
owner ||
97 static_cast<TransportAddress>(*node) ==
owner)) {
103 for (
int i = 0; i < nsSize; i++) {
105 rtt = prox ? (*(prox->
pr_ns.begin() + i)) : SimTime::getMaxTime();
108 if (!(rtt < 0 || node->isUnspecified() || *node ==
owner ||
109 static_cast<TransportAddress>(*node) ==
owner)) {
153 if ((ref->
getKey() == destination) || (test == *ref)) {
160 if (*testDist < *refDist)
178 return isCloser(test, destination, reference);