#include <QuonPRDefs.h>
Definition at line 57 of file QuonPRDefs.h.
Public Member Functions | |
| QPRSite () | |
Public Attributes | |
| Vector2D | position |
| PRTreeNode * | PRNode |
| QNeighborType | type |
| NodeHandle | address |
| double | AOIwidth |
| bool | dirty |
| bool | alive |
Friends | |
| std::ostream & | operator<< (std::ostream &Stream, const QPRSite &s) |
| QPRSite::QPRSite | ( | ) |
Definition at line 172 of file QuonPRDefs.cc.
00173 { 00174 PRNode = NULL; 00175 type = QUNDEFINED; 00176 dirty = false; 00177 alive = false; 00178 address = NodeHandle::UNSPECIFIED_NODE; 00179 AOIwidth = 0.0; 00180 }
| std::ostream& operator<< | ( | std::ostream & | Stream, | |
| const QPRSite & | s | |||
| ) | [friend] |
Definition at line 182 of file QuonPRDefs.cc.
00183 { 00184 Stream << s.address.ip << ":" << s.address.port << " Type: "; 00185 switch(s.type) { 00186 case QUNDEFINED: 00187 Stream << "\"Undefined\""; 00188 break; 00189 case QTHIS: 00190 Stream << "\"Self\""; 00191 break; 00192 case QNEIGHBOR: 00193 Stream << "\"Direct Neighbor\""; 00194 break; 00195 case QBINDING: 00196 Stream << "\"Binding Neighbor\""; 00197 break; 00198 case QSOFT: 00199 Stream << "\"Softstate Neighbor\""; 00200 break; 00201 } 00202 Stream << " Position: " << s.position; 00203 return Stream; 00204 }
Definition at line 61 of file QuonPRDefs.h.
Referenced by PRTreeNode::add(), QuonPR::addSite(), QuonPR::changeState(), QuonPR::classifySites(), PRTreeNode::findNearestNeighbor(), PRTreeNode::getDepth(), QuonPR::getPosition(), QuonPR::handleJoin(), QuonPR::handleJoinAcknowledge(), QuonPR::handleJoinRequest(), QuonPR::handleMove(), QuonPR::handleNodeGracefulLeaveNotification(), QuonPR::handleNodeMove(), QuonPR::initializeOverlay(), operator<<(), QuonPR::processBackupTimer(), PRTreeNode::remove(), and QuonPR::updateThisSite().
Definition at line 62 of file QuonPRDefs.h.
Referenced by PRTreeNode::add(), QuonPR::classifySites(), PRTreeNode::collapse(), QuonPR::initializeOverlay(), QPRSite(), and QuonPR::updateThisSite().
Definition at line 63 of file QuonPRDefs.h.
Referenced by QuonPR::addSite(), QuonPR::classifySites(), QuonPR::handleJoinRequest(), QuonPR::initializeOverlay(), operator<<(), and QPRSite().
Definition at line 64 of file QuonPRDefs.h.
Referenced by QuonPR::addSite(), QuonPR::changeState(), QuonPR::classifySites(), QuonPR::getKey(), QuonPR::handleAppMessage(), QuonPR::handleJoin(), QuonPR::handleJoinAcknowledge(), QuonPR::handleJoinRequest(), QuonPR::handleMove(), QuonPR::handleNodeGracefulLeaveNotification(), QuonPR::handleNodeLeaveNotification(), QuonPR::handleNodeMove(), QuonPR::handleUDPMessage(), QuonPR::initializeOverlay(), operator<<(), QuonPR::processBackupTimer(), QPRSite(), QuonPR::sendMessage(), and QuonPR::sendToApp().
| double QPRSite::AOIwidth |
| bool QPRSite::dirty |
Definition at line 66 of file QuonPRDefs.h.
Referenced by QuonPR::addSite(), QuonPR::classifySites(), and QPRSite().
| bool QPRSite::alive |
1.5.5