Mercurial > libervia-backend
comparison src/bridge/bridge_constructor/bridge_template.ini @ 1482:80cd55dd5b04
core, bridge: added getFeatures method:
this async method indicate which plugins are activated, and add an additional data dictionary with plugin specific data.
The result can be general (if profile==C.PROF_KEY_NONE) or specific to profile.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 21 Aug 2015 17:08:26 +0200 |
parents | ceba6fd77739 |
children | 7d7e57a84792 |
comparison
equal
deleted
inserted
replaced
1481:621b045cd284 | 1482:80cd55dd5b04 |
---|---|
172 type=method | 172 type=method |
173 category=core | 173 category=core |
174 sig_in= | 174 sig_in= |
175 sig_out=s | 175 sig_out=s |
176 doc=Get "Salut à Toi" full version | 176 doc=Get "Salut à Toi" full version |
177 | |
178 [getFeatures] | |
179 type=method | |
180 category=core | |
181 sig_in=s | |
182 sig_out=a{sa{ss}} | |
183 doc=Get available features and plugins | |
184 features can changes for differents profiles, e.g. because of differents server capabilities | |
185 doc_param_0=%(doc_profile_key)s | |
186 doc_return=dictionary of available features: | |
187 plugin import name is used as key, data is an other dict managed by the plugin | |
188 async= | |
177 | 189 |
178 [getProfileName] | 190 [getProfileName] |
179 type=method | 191 type=method |
180 category=core | 192 category=core |
181 sig_in=s | 193 sig_in=s |