powered by Jive Software

Question about Smack Provider Architecture

I’m attempting to write minimal Jingle Extension that one can just plug and use. The documentation I found so far is good but I have few questions I could not find an answer:

  1. How does IQIntrospectionProvider parse and assign nested XML? I mean the time example is good and simple, but how will IQ class look like for XML like
<iq from='romeo@montague.lit/orchard'
  <jingle xmlns='urn:xmpp:jingle:1'
    <content creator='initiator' name='this-is-a-stub'>
      <description xmlns='urn:xmpp:jingle:apps:stub:0'/>
      <transport xmlns='urn:xmpp:jingle:transports:stub:0'/>
  1. I would need to be listening to all IQ that are in jingle namespace so that I can notify registered listerners and consequently send responses. How can I listen for only IQs under Jingle namespace. Am yet to find document explaining that (I might be missing it sitting somewehere)


This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.