Changeset 5436
- Timestamp:
- Jul 29, 2009, 4:56:50 PM (15 years ago)
- Location:
- source/ariba
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/SideportListener.cpp
r5359 r5436 79 79 if( overlay == NULL ) return nodes; 80 80 81 overlay->getOverlayNeighbors(deep); 81 nodes = overlay->getOverlayNeighbors(deep); 82 return nodes; 82 83 } 83 84 -
source/ariba/SideportListener.h
r5316 r5436 42 42 #include <vector> 43 43 #include <map> 44 #include <iostream> 44 45 #include <boost/foreach.hpp> 45 46 #include "Identifiers.h" 46 47 #include "CommunicationListener.h" 47 48 49 using std::cout; 48 50 using std::map; 49 51 using std::vector; -
source/ariba/overlay/BaseOverlay.cpp
r5435 r5436 1448 1448 // the known nodes _can_ also include our node, so we remove ourself 1449 1449 vector<NodeID> nodes = overlayInterface->getKnownNodes(deep); 1450 1450 1451 vector<NodeID>::iterator i = find( nodes.begin(), nodes.end(), this->nodeId ); 1451 1452 if( i != nodes.end() ) nodes.erase( i ); 1453 1452 1454 return nodes; 1453 1455 } -
source/ariba/overlay/modules/chord/Chord.cpp
r5433 r5436 189 189 nodelist.push_back( *(table->get_predesessor()) ); 190 190 } 191 191 192 192 if( table->get_successor() != NULL ){ 193 193 nodelist.push_back( *(table->get_successor()) );
Note:
See TracChangeset
for help on using the changeset viewer.