Beispiel #1
0
 def stopService(self):
     """
     Stop the database service, closing all open indices.
     """
     Plugin.stopService(self)
     # close the DB environment
     self._env.close()
     logger.debug("[%s] closed database environment" % self.name)
Beispiel #2
0
 def stopService(self):
     """
     Stop the database service, closing all open indices.
     """
     Plugin.stopService(self)
     # close the DB environment
     self._env.close()
     self._logfd.stopReading()
     self._logfd = None
     logger.debug("[%s] closed database environment" % self.name)
Beispiel #3
0
 def stopService(self):
     if not self._listener == None:
         self._listener.stopListening()
         self._listener = None
     Plugin.stopService(self)
     logger.info("[%s] stopped listening for remote messages" % self.name)
Beispiel #4
0
 def stopService(self):
     if not self._listener == None:
         self._listener.stopListening()
         self._listener = None
     Plugin.stopService(self)
     logger.info("[%s] stopped listening for remote messages" % self.name)