[jdev] Cancelling an iq query

Ralph Giles giles at onlinegamegroup.com
Mon Aug 29 17:09:52 CDT 2005


On Mon, Aug 29, 2005 at 08:12:09PM +1000, Trejkaz wrote:

> The difficulty with that approach, of course, is that it can't possibly with 
> with existing, standard IQ queries.  I don't suppose we need some kind of <iq 
> type='cancel'/> where you pass the same ID of the query you want to cancel...

This has the same problem that you don't know if the response you get 
failed because it failed, or because you cancelled it. I guess we could
create a matching xmpp error element.

No one's commented on whether my idea of sending another 'set' with the 
same iq id before the initial response comes back is reasonable.

 -r



More information about the JDev mailing list