comparison sat/bridge/bridge_constructor/bridge_template.ini @ 2595:973d4551ffae

core: added local_device argument to discoFindByFeatures
author Goffi <goffi@goffi.org>
date Fri, 25 May 2018 10:52:01 +0200
parents 26edcf3a30eb
children 712cb4ff3e13
comparison
equal deleted inserted replaced
2594:59ba387c17ea 2595:973d4551ffae
736 736
737 [discoFindByFeatures] 737 [discoFindByFeatures]
738 async= 738 async=
739 type=method 739 type=method
740 category=core 740 category=core
741 sig_in=asa(ss)bbbbs 741 sig_in=asa(ss)bbbbbs
742 sig_out=(a{sa(sss)}a{sa(sss)}a{sa(sss)}) 742 sig_out=(a{sa(sss)}a{sa(sss)}a{sa(sss)})
743 param_2_default=False 743 param_2_default=False
744 param_3_default=True 744 param_3_default=True
745 param_4_default=True 745 param_4_default=True
746 param_5_default=True 746 param_5_default=True
747 param_6_default=u"@DEFAULT@" 747 param_6_default=False
748 param_7_default=u"@DEFAULT@"
748 doc=Discover items of an entity 749 doc=Discover items of an entity
749 doc_param_0=namespaces: namespaces of the features to check 750 doc_param_0=namespaces: namespaces of the features to check
750 doc_param_1=identities: identities to filter 751 doc_param_1=identities: identities to filter
751 doc_param_2=bare_jid: if True only retrieve bare jids 752 doc_param_2=bare_jid: if True only retrieve bare jids
752 if False, retrieve full jids of connected resources 753 if False, retrieve full jids of connected resources
753 doc_param_3=service: True to check server's services 754 doc_param_3=service: True to check server's services
754 doc_param_4=roster: True to check connected devices from people in roster 755 doc_param_4=roster: True to check connected devices from people in roster
755 doc_param_5=own_jid: True to check profile's jid 756 doc_param_5=own_jid: True to check profile's jid
756 doc_param_6=%(doc_profile_key)s 757 doc_param_6=local_device: True to check device on which the backend is running
758 doc_param_7=%(doc_profile_key)s
757 doc_return=tuple of maps of found entities full jids to their identities. Maps are in this order: 759 doc_return=tuple of maps of found entities full jids to their identities. Maps are in this order:
758 - services entities 760 - services entities
759 - own entities (i.e. entities linked to profile's jid) 761 - own entities (i.e. entities linked to profile's jid)
760 - roster entities 762 - roster entities
761 763