comparison src/bridge/bridge_constructor/bridge_template.ini @ 423:6c20c76abdcc

backend: - bridge async D-Bus method now automatically manage callback and errback, we just have to return a deferred - getParams, getParamsForCategory and getParamsUI are now asynchronous primitivus: management of asynchronous getParamsUI
author Goffi <goffi@goffi.org>
date Mon, 07 Nov 2011 00:09:22 +0100
parents 6c167a2e04b8
children e4e9187e3b5b
comparison
equal deleted inserted replaced
422:5a18c5f08d9b 423:6c20c76abdcc
193 doc_param_0=%(doc_profile)s 193 doc_param_0=%(doc_profile)s
194 doc_return=callback is called when profile actually exists in database and memory 194 doc_return=callback is called when profile actually exists in database and memory
195 errback is called with error constant as parameter: 195 errback is called with error constant as parameter:
196 - "CONFLICT": The profile name already exists 196 - "CONFLICT": The profile name already exists
197 - "CANCELED": profile creation canceled 197 - "CANCELED": profile creation canceled
198 - "DATABASE": profile creation in database failed
199 198
200 [deleteProfile] 199 [deleteProfile]
201 type=method 200 type=method
202 category=core 201 category=core
203 sig_in=s 202 sig_in=s
394 doc_param_1=category: as for [setParam] 393 doc_param_1=category: as for [setParam]
395 doc_param_2=attribute: Name of the attribute 394 doc_param_2=attribute: Name of the attribute
396 doc_param_3=%(doc_profile_key)s 395 doc_param_3=%(doc_profile_key)s
397 396
398 [getParamsUI] 397 [getParamsUI]
398 async=
399 type=method 399 type=method
400 category=core 400 category=core
401 sig_in=s 401 sig_in=s
402 sig_out=s 402 sig_out=s
403 param_0_default="@DEFAULT@" 403 param_0_default="@DEFAULT@"
404 doc=Return a SàT XMLUI for parameters 404 doc=Return a SàT XMLUI for parameters
405 doc_param_0=%(doc_profile_key)s 405 doc_param_0=%(doc_profile_key)s
406 406
407 [getParams] 407 [getParams]
408 async=
408 type=method 409 type=method
409 category=core 410 category=core
410 sig_in=s 411 sig_in=s
411 sig_out=s 412 sig_out=s
412 param_0_default="@DEFAULT@" 413 param_0_default="@DEFAULT@"
413 doc=Return XML of parameters 414 doc=Return XML of parameters
414 doc_param_0=%(doc_profile_key)s 415 doc_param_0=%(doc_profile_key)s
415 416
416 [getParamsForCategory] 417 [getParamsForCategory]
418 async=
417 type=method 419 type=method
418 category=core 420 category=core
419 sig_in=ss 421 sig_in=ss
420 sig_out=s 422 sig_out=s
421 param_1_default="@DEFAULT@" 423 param_1_default="@DEFAULT@"