comparison src/bridge/bridge_constructor/bridge_template.ini @ 419:6c167a2e04b8

bridge: added generic D-Bus exception management + asyncCreateProfile method
author Goffi <goffi@goffi.org>
date Wed, 02 Nov 2011 22:47:59 +0100
parents dd4caab17008
children 6c20c76abdcc
comparison
equal deleted inserted replaced
418:199cf4ebcc74 419:6c167a2e04b8
170 sig_in= 170 sig_in=
171 sig_out=as 171 sig_out=as
172 doc=Get all profiles 172 doc=Get all profiles
173 173
174 [createProfile] 174 [createProfile]
175 deprecated=
175 type=method 176 type=method
176 category=core 177 category=core
177 sig_in=s 178 sig_in=s
178 sig_out=i 179 sig_out=i
179 doc=Create a new profile 180 doc=Create a new profile
180 doc_param_0=%(doc_profile)s 181 doc_param_0=%(doc_profile)s
181 doc_return=status of the creation: 182 doc_return=status of the creation:
182 - 0: Profile created 183 - 0: Profile created
183 - 1: The profile name already exists 184 - 1: The profile name already exists
185
186 [asyncCreateProfile]
187 async=
188 type=method
189 category=core
190 sig_in=s
191 sig_out=
192 doc=Create a new profile
193 doc_param_0=%(doc_profile)s
194 doc_return=callback is called when profile actually exists in database and memory
195 errback is called with error constant as parameter:
196 - "CONFLICT": The profile name already exists
197 - "CANCELED": profile creation canceled
198 - "DATABASE": profile creation in database failed
184 199
185 [deleteProfile] 200 [deleteProfile]
186 type=method 201 type=method
187 category=core 202 category=core
188 sig_in=s 203 sig_in=s