Changeset 4935


Ignore:
Timestamp:
Jul 15, 2009, 2:25:17 PM (15 years ago)
Author:
Christoph Mayer
Message:
 
File:
1 edited

Legend:

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

    r4920 r4935  
    6262
    6363        manager.registerCallback( this );
    64         manager.registerModule( BootstrapManager::BootstrapTypePeriodicBroadcast );
     64        //manager.registerModule( BootstrapManager::BootstrapTypePeriodicBroadcast );
    6565}
     66
    6667void OverlayBootstrap::stop(){
    6768        overlay = NULL;
     
    7071
    7172        manager.unregisterCallback( this );
    72         manager.unregisterModule( BootstrapManager::BootstrapTypePeriodicBroadcast );
     73        //manager.unregisterModule( BootstrapManager::BootstrapTypePeriodicBroadcast );
    7374}
    7475
    7576void OverlayBootstrap::handleSystemEvent(const SystemEvent& event){
    76 
    77 
    7877        EventData* data = event.getData<EventData>();
    7978
     
    8281                        << " on NodeID " << data->nodeid.toString() << " with endpoint " << data->endpoint.toString() );
    8382
    84 
    85         // TODO: do stuff on overlay
    86 
     83        // tell the base overlay to join using this endpoint
     84        assert( overlay != NULL );
     85        overlay->joinSpoVNet( spovnetid, data->endpoint );
    8786
    8887        delete data;
Note: See TracChangeset for help on using the changeset viewer.