OverSim
|
#include <ProxNodeHandle.h>
Public Member Functions | |
operator double () | |
operator simtime_t () | |
Prox () | |
Prox (simtime_t prox) | |
Prox (simtime_t prox, double acc) | |
Prox (double prox, double acc) | |
bool | operator== (Prox p) const |
bool | operator!= (Prox p) const |
Public Attributes | |
double | proximity |
double | accuracy |
Static Public Attributes | |
static const Prox | PROX_SELF |
static const Prox | PROX_UNKNOWN |
static const Prox | PROX_TIMEOUT |
static const Prox | PROX_WAITING |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Prox &prox) |
Definition at line 33 of file ProxNodeHandle.h.
Prox::Prox | ( | ) |
Definition at line 41 of file ProxNodeHandle.cc.
Prox::Prox | ( | simtime_t | prox | ) |
Definition at line 42 of file ProxNodeHandle.cc.
Prox::Prox | ( | simtime_t | prox, |
double | acc | ||
) |
Definition at line 43 of file ProxNodeHandle.cc.
Prox::Prox | ( | double | prox, |
double | acc | ||
) |
Definition at line 44 of file ProxNodeHandle.cc.
Prox::operator double | ( | ) |
Definition at line 37 of file ProxNodeHandle.cc.
Prox::operator simtime_t | ( | ) |
Definition at line 38 of file ProxNodeHandle.cc.
bool Prox::operator!= | ( | Prox | p | ) | const |
Definition at line 47 of file ProxNodeHandle.cc.
bool Prox::operator== | ( | Prox | p | ) | const |
|
friend |
Definition at line 82 of file ProxNodeHandle.cc.
double Prox::accuracy |
Definition at line 41 of file ProxNodeHandle.h.
Referenced by StdProxComparator::compare(), NeighborCache::getNcsBasedTimeout(), KademliaBucketEntry::KademliaBucketEntry(), operator<<(), operator==(), and KademliaBucketEntry::setRtt().
|
static |
Definition at line 35 of file ProxNodeHandle.h.
Referenced by Kademlia::findNode(), NeighborCache::getProx(), oversim::Chord::handleRpcFixfingersResponse(), operator<<(), BasePastry::pingNodes(), DiscoveryMode::proxCallback(), and Kademlia::routingAdd().
|
static |
Definition at line 37 of file ProxNodeHandle.h.
Referenced by BasePastry::determineAliveTable(), NeighborCache::getNcsBasedTimeout(), NeighborCache::getProx(), oversim::Chord::handleRpcFixfingersResponse(), DiscoveryMode::handleRpcResponse(), operator<<(), BasePastry::pingNodes(), DiscoveryMode::proxCallback(), oversim::Chord::proxCallback(), Kademlia::proxCallback(), BasePastry::proxCallback(), Kademlia::routingAdd(), and NeighborCache::setNodeTimeout().
|
static |
Definition at line 36 of file ProxNodeHandle.h.
Referenced by NeighborCache::estimateProx(), Kademlia::findNode(), NeighborCache::getCoordinateBasedProx(), EuclideanNcsNodeInfo::getDistance(), SimpleUnderlayCoordsInfo::getDistance(), VivaldiCoordsInfo::getDistance(), NeighborCache::getNcsBasedTimeout(), NeighborCache::getProx(), oversim::Chord::handleRpcFixfingersResponse(), DiscoveryMode::handleRpcResponse(), Bamboo::lookupFinished(), operator<<(), BasePastry::pingNodes(), ProxExtractor< T >::prox(), NeighborCache::recordNcsEstimationError(), and Kademlia::routingAdd().
|
static |
Definition at line 38 of file ProxNodeHandle.h.
Referenced by NeighborCache::getProx(), oversim::Chord::handleRpcFixfingersResponse(), DiscoveryMode::handleRpcResponse(), Bamboo::lookupFinished(), operator<<(), BasePastry::pingNodes(), and Kademlia::routingAdd().
double Prox::proximity |
Definition at line 40 of file ProxNodeHandle.h.
Referenced by StdProxComparator::compare(), Nps::getCoordinateBasedProx(), NeighborCache::getNcsBasedTimeout(), oversim::Chord::handleRpcFixfingersResponse(), DiscoveryMode::handleRpcResponse(), KademliaBucketEntry::KademliaBucketEntry(), Bamboo::lookupFinished(), operator<<(), operator==(), BasePastry::pingNodes(), Vivaldi::processCoordinates(), DiscoveryMode::proxCallback(), oversim::Chord::proxCallback(), Kademlia::proxCallback(), BasePastry::proxCallback(), NeighborCache::recordNcsEstimationError(), and KademliaBucketEntry::setRtt().