Ejemplo n.º 1
0
 def Set(self, property, setval):
     qval = QtDBus.QDBusVariant()
     qval.setVariant(str(str(setval)))
     _async = self.asyncCall("Set", LOGGER_PROPS, property, qval)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.Set_done)
Ejemplo n.º 2
0
 def GetAll(self):
     _async = self.asyncCall("GetAll", LOGGER_PROPS)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.GetAll_done)
Ejemplo n.º 3
0
 def Get(self, property):
     _async = self.asyncCall("Get", LOGGER_PROPS, property)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.Get_done)
Ejemplo n.º 4
0
 def reload(self):
     _async = self.asyncCall("reload")
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.admin_done)
Ejemplo n.º 5
0
 def shutdown(self):
     _async = self.asyncCall("shutdown")
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.admin_done)
Ejemplo n.º 6
0
 def grace(self, ipaddr):
     _async = self.asyncCall("grace", ipaddr)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.admin_done)
Ejemplo n.º 7
0
 def ShowClients(self):
     _async = self.asyncCall("ShowClients")
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.clientshow_done)
Ejemplo n.º 8
0
 def RemoveClient(self, ipaddr):
     _async = self.asyncCall("RemoveClient", ipaddr)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.clientmgr_done)
Ejemplo n.º 9
0
 def GetNFSv41Layouts(self, ipaddr):
     _async = self.asyncCall("GetNFSv41Layouts", ipaddr)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.layout_done)
Ejemplo n.º 10
0
 def GetNFSv40IO(self, ipaddr):
     _async = self.asyncCall("GetNFSv40IO", ipaddr)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.io_done)