Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)