Ignore:
Timestamp:
Sep 25, 2009, 2:30:33 PM (15 years ago)
Author:
mies
Message:

added basic DHT functionality (untested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/modules/chord/Chord.cpp

    r6198 r6266  
    181181        if (item == NULL || item->info.isUnspecified()) return EndpointDescriptor::UNSPECIFIED();
    182182        return baseoverlay.getEndpointDescriptor(item->info);
     183}
     184
     185/// @see OverlayInterface.h
     186bool Chord::isClosestNodeTo( const NodeID& node ) {
     187        return table->is_closest_to(node);
    183188}
    184189
Note: See TracChangeset for help on using the changeset viewer.