Changeset 5882 for source/ariba/overlay/BaseOverlay.cpp
- Timestamp:
- Aug 12, 2009, 12:46:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r5879 r5882 230 230 231 231 /// routes a message to its destination node 232 void BaseOverlay::route( OverlayMsg* message , LinkDescriptor* incomingLink) {232 void BaseOverlay::route( OverlayMsg* message ) { 233 233 234 234 // exceeded time-to-live? yes-> drop message … … 241 241 // destinastion myself? yes-> handle message 242 242 if (message->getDestinationNode() == nodeId) 243 handleMessage( message, incomingLink);243 handleMessage( message, NULL ); 244 244 else 245 245 // no->send message to next hop … … 392 392 || ld->relayed 393 393 || !message->isRelayed() 394 || !(message->getService() == OverlayInterface::OVERLAY_SERVICE_ID)394 // || !(message->getService() == OverlayInterface::OVERLAY_SERVICE_ID) 395 395 || message->getSourceNode()==nodeId ) return; 396 396 … … 718 718 // erase descriptor 719 719 eraseDescriptor( ld->overlayId ); 720 } else 720 } else { 721 721 ld->dropAfterRelaying = true; 722 } 722 723 } 723 724 … … 1496 1497 ); 1497 1498 1498 route( overlayMsg , ld);1499 route( overlayMsg ); 1499 1500 delete overlayMsg; 1500 1501 return true;
Note:
See TracChangeset
for help on using the changeset viewer.