Author: remi
Date: 2008-09-18 09:23:24 +0200 (Thu, 18 Sep 2008)
New Revision: 1892

Modified:
   
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/lib/httpserver/TDHTTPServer.py
Log:
* added a public function to retrieving the server start state.

Modified: 
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/lib/httpserver/TDHTTPServer.py
===================================================================
--- 
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/lib/httpserver/TDHTTPServer.py
  2008-09-18 07:22:49 UTC (rev 1891)
+++ 
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/lib/httpserver/TDHTTPServer.py
  2008-09-18 07:23:24 UTC (rev 1892)
@@ -68,6 +68,7 @@
             pass
         
         self.__logger.logInfo("Server stopped.")
+        self.__setStarted(False) 
         return True
         
     def registerService(self, baseService, name, serviceCallback):
@@ -99,7 +100,10 @@
         value = self.__started
         self.__startedMutex.release()
         
-        return value  
+        return value 
+    
+    def getStarted(self):
+        return self.__getStarted() 
 
     
 class ThreadedHTTPServer(ThreadingMixIn, HTTPServer):


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to