#include <ProxNodeHandle.h>
Public Member Functions | |
ProxNodeHandle () | |
ProxNodeHandle (const NodeHandle &nodeHandle) | |
ProxNodeHandle (const NodeHandle &nodeHandle, const Prox &prox) | |
virtual | ~ProxNodeHandle () |
void | setProx (Prox prox) |
Prox | getProx () const |
Static Public Attributes | |
static const ProxNodeHandle | UNSPECIFIED_NODE |
the unspecified ProxNodeHandle | |
Protected Attributes | |
Prox | prox |
Definition at line 65 of file ProxNodeHandle.h.
ProxNodeHandle::ProxNodeHandle | ( | ) |
Definition at line 53 of file ProxNodeHandle.cc.
{
// TODO Auto-generated constructor stub
}
ProxNodeHandle::ProxNodeHandle | ( | const NodeHandle & | nodeHandle | ) |
Definition at line 64 of file ProxNodeHandle.cc.
: NodeHandle(nodeHandle), prox(prox) { //... }
ProxNodeHandle::ProxNodeHandle | ( | const NodeHandle & | nodeHandle, | |
const Prox & | prox | |||
) |
Definition at line 70 of file ProxNodeHandle.cc.
: NodeHandle(nodeHandle), prox(prox) { //... }
ProxNodeHandle::~ProxNodeHandle | ( | ) | [virtual] |
Definition at line 59 of file ProxNodeHandle.cc.
{
// TODO Auto-generated destructor stub
}
Prox ProxNodeHandle::getProx | ( | ) | const [inline] |
Definition at line 78 of file ProxNodeHandle.h.
Referenced by KademliaBucketEntry::getRtt(), ProxExtractor< ProxNodeHandle >::prox(), ProxExtractor< KademliaBucketEntry >::prox(), and Kademlia::routingAdd().
{ return prox; };
void ProxNodeHandle::setProx | ( | Prox | prox | ) | [inline] |
Definition at line 77 of file ProxNodeHandle.h.
Referenced by Kademlia::findNode(), and Kademlia::routingAdd().
{ this->prox = prox; };
Prox ProxNodeHandle::prox [protected] |
Definition at line 68 of file ProxNodeHandle.h.
Referenced by getProx(), KademliaBucketEntry::KademliaBucketEntry(), and KademliaBucketEntry::setRtt().
const ProxNodeHandle ProxNodeHandle::UNSPECIFIED_NODE [static] |
the unspecified ProxNodeHandle
Reimplemented from NodeHandle.
Definition at line 71 of file ProxNodeHandle.h.