comparison sat_bridge/DBus.py @ 89:23caf1051099

multi-profile/subscription misc fixes
author Goffi <goffi@goffi.org>
date Thu, 13 May 2010 16:27:48 +0930
parents 6e3a06b4dd36
children 783e9d6980ec
comparison
equal deleted inserted replaced
88:59f181e8433a 89:23caf1051099
136 136
137 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, 137 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
138 in_signature='s', out_signature='') 138 in_signature='s', out_signature='')
139 def connect(self, profile_key='@DEFAULT@'): 139 def connect(self, profile_key='@DEFAULT@'):
140 info ("Connection asked") 140 info ("Connection asked")
141 return self.cb["connect"]() 141 return self.cb["connect"](profile_key)
142 142
143 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, 143 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
144 in_signature='s', out_signature='') 144 in_signature='s', out_signature='')
145 def disconnect(self, profile_key='@DEFAULT@'): 145 def disconnect(self, profile_key='@DEFAULT@'):
146 info ("Disconnection asked") 146 info ("Disconnection asked")