#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.
ProxNodeHandle::ProxNodeHandle | ( | const NodeHandle & | nodeHandle | ) |
Definition at line 64 of file ProxNodeHandle.cc.
00065 : NodeHandle(nodeHandle), prox(prox) 00066 { 00067 //... 00068 }
ProxNodeHandle::ProxNodeHandle | ( | const NodeHandle & | nodeHandle, | |
const Prox & | prox | |||
) |
Definition at line 70 of file ProxNodeHandle.cc.
00071 : NodeHandle(nodeHandle), prox(prox) 00072 { 00073 //... 00074 }
ProxNodeHandle::~ProxNodeHandle | ( | ) | [virtual] |
Definition at line 59 of file ProxNodeHandle.cc.
Prox ProxNodeHandle::getProx | ( | ) | const [inline] |
Definition at line 78 of file ProxNodeHandle.h.
Referenced by KademliaBucketEntry::getRtt(), ProxExtractor< ProxNodeHandle >::prox(), and ProxExtractor< KademliaBucketEntry >::prox().
00078 { return prox; };
void ProxNodeHandle::setProx | ( | Prox | prox | ) | [inline] |
Definition at line 77 of file ProxNodeHandle.h.
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.