@iq_get_stanza_handler(VersionPayload)
    def handle_version_iq_get(self, stanza):
        payload = VersionPayload(name = self.settings["software_name"],
                                 version = self.settings["software_version"],
                                 os_name = self.settings["software_os"]
                                 )
        response = stanza.make_result_response()
        response.set_payload(payload)
        return response
Handler <iq type="get"/> for a software version query.
dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/pyxmpp2/ext/version.py/VersionProvider.handle_version_iq_get