Exemplo n.º 1
0
 def __init__(self, sessionBus, objectPath, cfg):
     dbus.service.Object.__init__(self, sessionBus, objectPath)
     self.freqUpdatedList = {}
     self.objDb = objectDatabase.objectDatabase()
     self.taskMan = taskManagerProxy()
     self.registeredCallback = {}
     self.monitoring = {}
     self.cfg = cfg
Exemplo n.º 2
0
 def __init__(self, collectionId):
     self.db = objectDatabase.objectDatabase()
     self.collection = self.db.getCollection(collectionId)
Exemplo n.º 3
0
 def __init__(self, rootDir, backupDir, collectionId):
     self.rootDir = rootDir
     self.backupDir = backupDir
     self.lastState = folderStorageStateOnDb(collectionId)
     self.db = objectDatabase.objectDatabase()