[JDEV] message ordering

Peter Millard me at pgmillard.com
Thu Aug 22 10:06:00 CDT 2002


Duncan -

You should use the id attributes of the various requests to match responses
with request. IQ's are async (as is all of jabber), so the ability to match
responses w/ the appropriate request is imperative. You shouldn't rely on
ordering of the responses.

pgm.


Duncan Hoyle wrote:
> Hi
>
> If my bot sends several browse messages to various
> components (server/admin and different conferences) to find
> who's logged into each, does the server handle them all in
> order, and will the responses from the server be in the
> order in which they queries were sent?
>
> Duncan
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev




More information about the JDev mailing list