Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini Mon Feb 06 20:51:56 2017 +0100 +++ b/src/bridge/bridge_constructor/bridge_template.ini Mon Feb 06 22:54:43 2017 +0100 @@ -264,17 +264,19 @@ - ProfileUnknownError: the profile name is unknown - ConnectedProfileError: a connected profile would not be deleted -[asyncConnect] +[connect] async= type=method category=core -sig_in=ss +sig_in=ssa{ss} sig_out=b param_0_default="@DEFAULT@" param_1_default='' +param_2_default={} doc=Connect a profile doc_param_0=%(doc_profile_key)s doc_param_1=password: the SàT profile password +doc_param_2=options: connection options doc_return=a deferred boolean or failure: - boolean if the profile authentication succeed: - True if the XMPP connection was already established