Changeset 6760 for source/ariba/overlay


Ignore:
Timestamp:
Oct 30, 2009, 2:50:12 PM (15 years ago)
Author:
mies
Message:

added dht test case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/BaseOverlay.cpp

    r6584 r6760  
    18921892        stabilizeRelays();
    18931893        stabilizeLinks();
     1894        stabilizeDHT();
    18941895}
    18951896
    18961897
    18971898// ----------------------------------------------------------------------------
    1898 
    1899 
    19001899
    19011900/// stabilize DHT state
     
    20062005        // calculate hash
    20072006        NodeID dest = NodeID::sha1(key.getBuffer(), key.getLength() / 8);
    2008         OverlayMsg msg(OverlayMsg::typeDHTRemove);
     2007        OverlayMsg msg(OverlayMsg::typeDHTGet);
    20092008        DHTMessage dhtmsg(key);
    20102009        msg.setDestinationNode(dest);
     
    20142013}
    20152014
    2016 
    20172015}} // namespace ariba, overlay
Note: See TracChangeset for help on using the changeset viewer.