comparison src/bridge/bridge_constructor/bridge_template.ini @ 1059:b2b9c184033f

core, frontends: remove bridge method "connect" (always use asyncConnect)
author souliane <souliane@mailoo.org>
date Fri, 23 May 2014 10:40:54 +0200
parents 6e975c6b0faf
children aa15453ec54d
comparison
equal deleted inserted replaced
1058:0a9986452bba 1059:b2b9c184033f
225 doc_param_0=%(doc_profile)s 225 doc_param_0=%(doc_profile)s
226 doc_return=callback is called when profile has been deleted from database and memory 226 doc_return=callback is called when profile has been deleted from database and memory
227 errback is called with error constant as parameter: 227 errback is called with error constant as parameter:
228 - ProfileUnknownError: the profile name is unknown 228 - ProfileUnknownError: the profile name is unknown
229 - ConnectedProfileError: a connected profile would not be deleted 229 - ConnectedProfileError: a connected profile would not be deleted
230
231 [connect]
232 type=method
233 category=core
234 sig_in=ss
235 sig_out=b
236 param_0_default="@DEFAULT@"
237 param_1_default=''
238 doc=Connect a profile
239 doc_param_0=%(doc_profile_key)s
240 doc_param_1=password: the SàT profile password
241 doc_return=a deferred boolean or failure:
242 - boolean if the profile authentication succeed:
243 - True if the XMPP connection was already established
244 - False if the XMPP connection has been initiated (it may still fail)
245 - failure if the profile authentication failed
246 230
247 [asyncConnect] 231 [asyncConnect]
248 async= 232 async=
249 type=method 233 type=method
250 category=core 234 category=core