Ignore:
Timestamp:
May 27, 2009, 8:13:08 AM (15 years ago)
Author:
Christoph Mayer
Message:

-dynamische wahl des overlays durch den initiator, nodes kriegen bei join mitgeteilt welche overlay struktur zu verwenden ist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/modules/OverlayFactory.cpp

    r3690 r3718  
    5353
    5454        switch( param.getOverlayStructure() ){
    55                 case OverlayParameterSet::OverlayStructureOneHop:
    56                         return new OneHop( baseoverlay, nodeid, routeReceiver );
    5755
    5856                case OverlayParameterSet::OverlayStructureChord:
    59                         return new Chord( baseoverlay, nodeid, routeReceiver );
     57                        return new Chord( baseoverlay, nodeid, routeReceiver, param );
    6058
    61                 case OverlayParameterSet::OverlayStructureKademlia:
    62                         return NULL;
     59                case OverlayParameterSet::OverlayStructureOneHop:
     60                        return new OneHop( baseoverlay, nodeid, routeReceiver, param );
    6361
    6462                default:
Note: See TracChangeset for help on using the changeset viewer.