Changeset 5664 for source/ariba/overlay/modules
- Timestamp:
- Aug 4, 2009, 3:09:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.cpp
r5661 r5664 321 321 322 322 // normal: route discovery message like every other message 323 case Discovery::normal: 323 case Discovery::normal: { 324 324 // closest node? yes-> split to follow successor and predecessor 325 325 if (table->is_closest_to(m->getDestination())) { … … 364 364 } 365 365 break; 366 } 366 367 367 368 // successor mode: follow the successor until TTL is zero … … 386 387 << item->id.toString() ); 387 388 ChordMessage cmsg(*m); 388 cmsg.encapsulate(dmsg); 389 Discovery dmsg_p(*dmsg); 390 cmsg.encapsulate(&dmsg_p); 389 391 send(&cmsg, item->info); 390 392 break;
Note:
See TracChangeset
for help on using the changeset viewer.