Mercurial > libervia-backend
comparison src/bridge/bridge_constructor/bridge_template.ini @ 2534:7da86e1633a5
core: new discoFindFeatures method which return all server services/roster entities implementing a set of features.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Mar 2018 10:46:09 +0100 |
parents | 81a45e7886c9 |
children | 27539029a662 |
comparison
equal
deleted
inserted
replaced
2533:8d82a62fa098 | 2534:7da86e1633a5 |
---|---|
732 doc_param_1=node: node to use | 732 doc_param_1=node: node to use |
733 doc_param_2=use_cache: use cached data if available | 733 doc_param_2=use_cache: use cached data if available |
734 doc_param_3=%(doc_profile_key)s | 734 doc_param_3=%(doc_profile_key)s |
735 doc_return=array of tuple (entity, node identifier, name) | 735 doc_return=array of tuple (entity, node identifier, name) |
736 | 736 |
737 [discoFindByFeatures] | |
738 async= | |
739 type=method | |
740 category=core | |
741 sig_in=asbbbs | |
742 sig_out=(a{sa(sss)}a{sa(sss)}a{sa(sss)}) | |
743 param_1_default=True | |
744 param_2_default=True | |
745 param_3_default=True | |
746 param_4_default=u"@DEFAULT@" | |
747 doc=Discover items of an entity | |
748 doc_param_0=namespaces: namespaces of the features to check | |
749 doc_param_1=service: True to check server's services | |
750 doc_param_2=roster: True to check connected devices from people in roster | |
751 doc_param_3=own_jid: True to check profile's jid | |
752 doc_param_4=%(doc_profile_key)s | |
753 doc_return=tuple of maps of found entities full jids to their identities. Maps are in this order: | |
754 - services entities | |
755 - own entities (i.e. entities linked to profile's jid) | |
756 - roster entities | |
757 | |
737 [saveParamsTemplate] | 758 [saveParamsTemplate] |
738 type=method | 759 type=method |
739 category=core | 760 category=core |
740 sig_in=s | 761 sig_in=s |
741 sig_out=b | 762 sig_out=b |