comparison src/bridge/bridge_constructor/bridge_template.ini @ 2142:be96beb7ca14

core, bridge, frontends: renamed asyncConnect to connect, and added options parameters (not used yet)
author Goffi <goffi@goffi.org>
date Mon, 06 Feb 2017 22:54:43 +0100
parents 2f264f3df280
children 1d3f73e065e1
comparison
equal deleted inserted replaced
2141:35762e9ce8b9 2142:be96beb7ca14
262 doc_return=callback is called when profile has been deleted from database and memory 262 doc_return=callback is called when profile has been deleted from database and memory
263 errback is called with error constant as parameter: 263 errback is called with error constant as parameter:
264 - ProfileUnknownError: the profile name is unknown 264 - ProfileUnknownError: the profile name is unknown
265 - ConnectedProfileError: a connected profile would not be deleted 265 - ConnectedProfileError: a connected profile would not be deleted
266 266
267 [asyncConnect] 267 [connect]
268 async= 268 async=
269 type=method 269 type=method
270 category=core 270 category=core
271 sig_in=ss 271 sig_in=ssa{ss}
272 sig_out=b 272 sig_out=b
273 param_0_default="@DEFAULT@" 273 param_0_default="@DEFAULT@"
274 param_1_default='' 274 param_1_default=''
275 param_2_default={}
275 doc=Connect a profile 276 doc=Connect a profile
276 doc_param_0=%(doc_profile_key)s 277 doc_param_0=%(doc_profile_key)s
277 doc_param_1=password: the SàT profile password 278 doc_param_1=password: the SàT profile password
279 doc_param_2=options: connection options
278 doc_return=a deferred boolean or failure: 280 doc_return=a deferred boolean or failure:
279 - boolean if the profile authentication succeed: 281 - boolean if the profile authentication succeed:
280 - True if the XMPP connection was already established 282 - True if the XMPP connection was already established
281 - False if the XMPP connection has been initiated (it may still fail) 283 - False if the XMPP connection has been initiated (it may still fail)
282 - failure if the profile authentication failed 284 - failure if the profile authentication failed