Ignore:
Timestamp:
Feb 17, 2009, 12:04:30 PM (15 years ago)
Author:
Christoph Mayer
Message:

-getBootstrapNodes implementiert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/AribaModule.cpp

    r2409 r2434  
    9292const communication::EndpointDescriptor* AribaModule::getBootstrapNode(
    9393                const Name& spovnet) {
     94
     95        BOOST_FOREACH( BootstrapInfo info, bootstrapNodes ){
     96                if( info.spovnetName == spovnet ){
     97                        BOOST_FOREACH( BootstrapNode node, info.desc ){
     98                                if( node.desc != NULL ) return node.desc;
     99                        }
     100                }
     101        }
     102
    94103        return NULL;
    95104}
Note: See TracChangeset for help on using the changeset viewer.