comparison src/bridge/bridge_constructor/bridge_template.ini @ 2536:27539029a662

core: added bare_jid and identities arguments to discoGetByFeatures: - bare_jid indicate if we are looking for server implementation (True) of devices (False) - identities is an optional filter, only entities with this identities set will be kept
author Goffi <goffi@goffi.org>
date Mon, 26 Mar 2018 08:01:06 +0200
parents 7da86e1633a5
children
comparison
equal deleted inserted replaced
2535:a19b2c43e719 2536:27539029a662
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=asbbbs 741 sig_in=asa(ss)bbbbs
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_1_default=True 743 param_2_default=False
744 param_2_default=True
745 param_3_default=True 744 param_3_default=True
746 param_4_default=u"@DEFAULT@" 745 param_4_default=True
746 param_5_default=True
747 param_6_default=u"@DEFAULT@"
747 doc=Discover items of an entity 748 doc=Discover items of an entity
748 doc_param_0=namespaces: namespaces of the features to check 749 doc_param_0=namespaces: namespaces of the features to check
749 doc_param_1=service: True to check server's services 750 doc_param_1=identities: identities to filter
750 doc_param_2=roster: True to check connected devices from people in roster 751 doc_param_2=bare_jid: if True only retrieve bare jids
751 doc_param_3=own_jid: True to check profile's jid 752 if False, retrieve full jids of connected resources
752 doc_param_4=%(doc_profile_key)s 753 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_5=own_jid: True to check profile's jid
756 doc_param_6=%(doc_profile_key)s
753 doc_return=tuple of maps of found entities full jids to their identities. Maps are in this order: 757 doc_return=tuple of maps of found entities full jids to their identities. Maps are in this order:
754 - services entities 758 - services entities
755 - own entities (i.e. entities linked to profile's jid) 759 - own entities (i.e. entities linked to profile's jid)
756 - roster entities 760 - roster entities
757 761