Changeset 5838 for source/ariba/overlay/BaseOverlay.cpp
- Timestamp:
- Aug 11, 2009, 8:39:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r5803 r5838 370 370 } 371 371 372 373 372 //ovl.visShowNodeBubble ( ovlId, nodeId, "joining..." ); 374 373 logging_info( "Starting to join spovnet " << id.toString() << … … 399 398 const LinkID& lnk = bc->establishLink( bootstrapEp ); 400 399 bootstrapLinks.push_back(lnk); 400 401 401 logging_info("join process initiated for " << id.toString() << "..."); 402 402 403 } 403 404 } … … 1107 1108 state = BaseOverlayStateCompleted; 1108 1109 overlayInterface->createOverlay(); 1109 1110 1110 overlayInterface->joinOverlay( replyMsg->getBootstrapEndpoint() ); 1111 1112 //record bootstrap ep as good endpoint to join 1113 overlayBootstrap.recordJoin( replyMsg->getBootstrapEndpoint() ); 1111 1114 1112 1115 // update ovlvis … … 1555 1558 1556 1559 vector<NodeID> BaseOverlay::getOverlayNeighbors(bool deep) const { 1560 1561 vector<NodeID> nodes = overlayInterface->getKnownNodes(deep); 1562 1557 1563 // the known nodes _can_ also include our node, so we remove ourself 1558 vector<NodeID> nodes = overlayInterface->getKnownNodes(deep);1559 1560 1564 vector<NodeID>::iterator i = find( nodes.begin(), nodes.end(), this->nodeId ); 1561 1565 if( i != nodes.end() ) nodes.erase( i );
Note:
See TracChangeset
for help on using the changeset viewer.