#include <BootstrapNodeHandle.h>

Public Member Functions | |
| BootstrapNodeHandle () | |
| BootstrapNodeHandle (const BootstrapNodeHandle &handle) | |
| BootstrapNodeHandle (const NodeHandle &handle, BootstrapNodePrioType prio=CACHE) | |
| BootstrapNodeHandle (const OverlayKey &key, const IPvXAddress &ip, int port, BootstrapNodePrioType prio=CACHE) | |
| BootstrapNodePrioType | getNodePrio () const |
| void | setNodePrio (BootstrapNodePrioType nodePrio) |
| simtime_t | getLastPing () const |
| void | setLastPing (simtime_t lastPing) |
Private Attributes | |
| BootstrapNodePrioType | nodePrio |
| simtime_t | lastPing |
Definition at line 33 of file BootstrapNodeHandle.h.
| BootstrapNodeHandle::BootstrapNodeHandle | ( | ) | [inline] |
Definition at line 40 of file BootstrapNodeHandle.h.
00040 : NodeHandle() 00041 { 00042 /* lowest priority */ 00043 nodePrio = CACHE; 00044 }
| BootstrapNodeHandle::BootstrapNodeHandle | ( | const BootstrapNodeHandle & | handle | ) | [inline] |
Definition at line 46 of file BootstrapNodeHandle.h.
00046 : NodeHandle(handle) 00047 { 00048 nodePrio = handle.nodePrio; 00049 }
| BootstrapNodeHandle::BootstrapNodeHandle | ( | const NodeHandle & | handle, | |
| BootstrapNodePrioType | prio = CACHE | |||
| ) | [inline] |
Definition at line 51 of file BootstrapNodeHandle.h.
00053 { 00054 this->ip = handle.getAddress(); 00055 this->port = handle.getPort(); 00056 this->key = handle.getKey(); 00057 nodePrio = prio; 00058 }
| BootstrapNodeHandle::BootstrapNodeHandle | ( | const OverlayKey & | key, | |
| const IPvXAddress & | ip, | |||
| int | port, | |||
| BootstrapNodePrioType | prio = CACHE | |||
| ) | [inline] |
Definition at line 60 of file BootstrapNodeHandle.h.
00064 : NodeHandle(key, ip, port) { 00065 nodePrio = prio; 00066 }
| simtime_t BootstrapNodeHandle::getLastPing | ( | ) | const [inline] |
Definition at line 76 of file BootstrapNodeHandle.h.
Referenced by BootstrapList::handleBootstrapListTimerExpired(), BootstrapList::insertBootstrapCandidate(), and operator<<().
00076 { 00077 return lastPing; 00078 }
| BootstrapNodePrioType BootstrapNodeHandle::getNodePrio | ( | ) | const [inline] |
Definition at line 68 of file BootstrapNodeHandle.h.
Referenced by BootstrapList::insertBootstrapCandidate(), and operator<<().
00068 { 00069 return nodePrio; 00070 }
| void BootstrapNodeHandle::setLastPing | ( | simtime_t | lastPing | ) | [inline] |
Definition at line 80 of file BootstrapNodeHandle.h.
Referenced by BootstrapList::insertBootstrapCandidate().
| void BootstrapNodeHandle::setNodePrio | ( | BootstrapNodePrioType | nodePrio | ) | [inline] |
simtime_t BootstrapNodeHandle::lastPing [private] |
Definition at line 36 of file BootstrapNodeHandle.h.
Referenced by BootstrapNodeHandle(), and getNodePrio().
1.5.8