[JDEV] multiple <iq/> requests and message order
Fabio Forno
f.forno at kamin.polito.it
Wed Feb 5 02:45:08 CST 2003
Sebastiaan 'CBAS' Deckers wrote:
> You're supposed to use the id attribute of the <iq/> element, not
> necessarily for <message/>.
>
> eg.
> SENT: <iq id="abc123" to="foo at bar" type="get"/>
> SENT: <iq id="def456" to="foo at bar" type="get"/>
> RECV: <iq id="def456" from="foo at bar" type="result"/>
> RECV: <iq id="abc123" from="foo at bar" type="result"/>
>
> This is documented here:
> http://www.jabber.org/ietf/draft-ietf-xmpp-core-02.html#anchor3
Thank you. My doubt derived from some libraries that for <iq/> elements
have methods such as sendAndWaitForResponse, which are blocking until
the answer of the last sent <iq/> arrives.
--
Fabio Forno - PhD Student
Politecnico di Torino - Dip. Automatica ed Informatica
C.so Duca degli Abruzzi 24 - 10129 Torino (Italy)
Phone: +39 011 564 7137 - JabberId: sciasbat at jabber.linux.it
More information about the JDev
mailing list