1 # -*- coding: utf-8 -*-
4 from ..dbusclient
import DBusClient
5 #from ..dbusclient.func import *
8 class Connection(DBusClient
):
9 """NetworkManagerSettings.Connection (including Secrets)
12 Update ( a{sa{sv}}: properties ) → nothing
14 GetSettings ( ) → a{sa{sv}}
15 GetSecrets ( s: setting_name, as: hints, b: request_new ) → a{sa{sv}}
18 Updated ( a{sa{sv}}: settings )
22 # FIXME into DBusClient ctor
23 IFACE
= "org.freedesktop.NetworkManagerSettings.Connection"
25 SECRETS_IFACE
= "org.freedesktop.NetworkManagerSettings.Connection.Secrets"
27 def __init__(self
, service
, opath
):
28 super(Connection
, self
).__init
__(dbus
.SystemBus(), service
, opath
, default_interface
=self
.IFACE
)
30 Connection
._add
_adaptors
(