Mercurial > libervia-backend
comparison src/bridge/bridge_constructor/bridge_template.ini @ 1592:d6d655238a93
bridge: new core method profileStartSession to start a session without connecting the profile
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 14 Nov 2015 19:18:10 +0100 |
parents | 698d6755d62a |
children | a3d0cfa5b7a6 |
comparison
equal
deleted
inserted
replaced
1591:0df9c6247474 | 1592:d6d655238a93 |
---|---|
295 doc_return=a deferred boolean or failure: | 295 doc_return=a deferred boolean or failure: |
296 - boolean if the profile authentication succeed: | 296 - boolean if the profile authentication succeed: |
297 - True if the XMPP connection was already established | 297 - True if the XMPP connection was already established |
298 - False if the XMPP connection has been initiated (it may still fail) | 298 - False if the XMPP connection has been initiated (it may still fail) |
299 - failure if the profile authentication failed | 299 - failure if the profile authentication failed |
300 | |
301 [profileStartSession] | |
302 async= | |
303 type=method | |
304 category=core | |
305 sig_in=ss | |
306 sig_out=b | |
307 param_0_default='' | |
308 param_1_default="@DEFAULT@" | |
309 doc=Start a profile session without connecting it (if it's not already the case) | |
310 doc_param_0=password: the SàT profile password | |
311 doc_param_1=%(doc_profile_key)s | |
312 doc_return=D(bool): | |
313 - True if the profile session was already started | |
314 - False else | |
315 | |
316 [profileIsSessionStarted] | |
317 type=method | |
318 category=core | |
319 sig_in=s | |
320 sig_out=b | |
321 param_0_default="@DEFAULT@" | |
322 doc=Tell if a profile session is loaded | |
323 doc_param_0=%(doc_profile_key)s | |
300 | 324 |
301 [disconnect] | 325 [disconnect] |
302 type=method | 326 type=method |
303 category=core | 327 category=core |
304 sig_in=s | 328 sig_in=s |