Changeset 5644 for source/ariba/overlay/modules/chord/Chord.cpp
- Timestamp:
- Aug 4, 2009, 11:16:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.cpp
r5642 r5644 59 59 this->table = new chord_routing_table(_nodeid, 2); 60 60 orphan_removal_counter = 0; 61 discovery_count = 0; 61 62 stabilize_counter = 0; 62 63 stabilize_finger = 0; … … 110 111 cmsg.encapsulate(&dmsg); 111 112 msg.encapsulate(&cmsg); 112 this->onMessage(&msg, NodeID::UNSPECIFIED, LinkID::UNSPECIFIED); 113 discovery_count++; 114 const route_item* item = (*table)[ discovery_count % table->size() ]; 115 if (item!=NULL && !item->info.isUnspecified()) send(&msg,item->info); 116 // this->onMessage(&msg, NodeID::UNSPECIFIED, LinkID::UNSPECIFIED); 113 117 } 114 118
Note:
See TracChangeset
for help on using the changeset viewer.