Mercurial > libervia-backend
diff sat_bridge/DBus.py @ 1:a06a151fc31f
Disconnect first draft
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 18 Oct 2009 23:20:45 +0200 |
parents | c4bc297b82f0 |
children | c14a3a7018a5 |
line wrap: on
line diff
--- a/sat_bridge/DBus.py Sat Aug 29 13:34:59 2009 +0200 +++ b/sat_bridge/DBus.py Sun Oct 18 23:20:45 2009 +0200 @@ -80,6 +80,12 @@ return self.cb["connect"]() @dbus.service.method("org.goffi.SAT.communication", + in_signature='', out_signature='') + def disconnect(self): + info ("Disconnection asked") + return self.cb["disconnect"]() + + @dbus.service.method("org.goffi.SAT.communication", in_signature='', out_signature='a(sa{ss}as)') def getContacts(self): debug("getContacts...")