Changeset 7532 for source/ariba/overlay/BaseOverlay.cpp
- Timestamp:
- Feb 4, 2010, 5:29:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r7018 r7532 824 824 } 825 825 826 827 826 //ovl.visShowNodeBubble ( ovlId, nodeId, "joining..." ); 828 827 logging_info( "Starting to join spovnet " << id.toString() << … … 830 829 831 830 if(bootstrapEp.isUnspecified() && state == BaseOverlayStateInvalid){ 831 832 //** FIRST STEP - MANDATORY */ 832 833 833 834 // bootstrap against ourselfs … … 842 843 //ovl.visChangeNodeColor( ovlId, nodeId, OvlVis::NODE_COLORS_GREEN ); 843 844 844 logging_debug("starting overlay bootstrap module");845 overlayBootstrap.start(this, spovnetId, nodeId);846 overlayBootstrap.publish(bc->getEndpointDescriptor());847 848 845 } else { 846 847 //** SECOND STEP - OPTIONAL */ 849 848 850 849 // bootstrap against another node … … 857 856 } 858 857 859 void BaseOverlay::leaveSpoVNet() { 860 861 logging_info( "Leaving spovnet " << spovnetId ); 862 bool ret = ( state != this->BaseOverlayStateInvalid ); 863 858 859 void BaseOverlay::startBootstrapModules(vector<pair<BootstrapManager::BootstrapType,string> > modules){ 860 logging_debug("starting overlay bootstrap module"); 861 overlayBootstrap.start(this, spovnetId, nodeId, modules); 862 overlayBootstrap.publish(bc->getEndpointDescriptor()); 863 } 864 865 void BaseOverlay::stopBootstrapModules(){ 864 866 logging_debug("stopping overlay bootstrap module"); 865 867 overlayBootstrap.stop(); 866 868 overlayBootstrap.revoke(); 869 } 870 871 void BaseOverlay::leaveSpoVNet() { 872 873 logging_info( "Leaving spovnet " << spovnetId ); 874 bool ret = ( state != this->BaseOverlayStateInvalid ); 867 875 868 876 logging_debug( "Dropping all auto-links" );
Note:
See TracChangeset
for help on using the changeset viewer.