Changeset 10506

Show
Ignore:
Timestamp:
11/11/10 09:51:30 (3 years ago)
Author:
Snyder.Jason
Message:

no longer automatically starts the naming service and nodebooter if they havent been started. Instead, I added methods to do those things that clients can use

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/trunk/tools/wavedash/src/WavedashController.py

    r10474 r10506  
    4545        self.nodeBooterProcess = None 
    4646        self.nbUtils = NodeBooterUtils(self) 
    47         if not self.nbUtils.namingServiceIsRunning(): 
    48             self.nbUtils.startNamingService() 
    49         if not self.nbUtils.nodeBooterIsRunning(): 
    50             self.nodeBooterProcess = self.nbUtils.startNodeBooter() 
    51         
     47         
    5248        self.enableGUI = enableGUI 
    5349        self.model = WavedashModel(self) 
     
    223219        configFile = os.getenv('HOME') + '/' + OSSIE_CONFIG_FILE 
    224220        return os.path.exists(configFile) 
    225  
    226  
     221     
     222    def namingServiceIsRunning(self): 
     223        return self.nbUtils.namingServiceIsRunning() 
     224     
     225    def startNamingService(self): 
     226        self.nbUtils.startNamingService() 
     227         
     228    def nodeBooterIsRunning(self): 
     229        return self.nbUtils.nodeBooterIsRunning() 
     230     
     231    def startNodeBooter(self): 
     232        self.nodeBooterProcess = self.nbUtils.startNodeBooter() 
     233     
     234     
     235     
     236     
     237        
     238 
     239