[jdev] Cancelling an iq query

Trejkaz trejkaz at trypticon.org
Mon Aug 29 05:12:09 CDT 2005


On Mon, 29 Aug 2005 19:31, Ralph Meijer wrote:
> On Sun, Aug 28, 2005 at 11:42:25AM -0700, Ralph Giles wrote:
> > I'd like to collect suggestions for "cancelling" an in-process iq
> > transaction.
>
> I would also go with a similar approach as yours. An <iq/> for the
> transaction request and a <message/> with the results when the
> transaction is completed. The two then matched up by a application
> specific handle. There is no generic solution to the pattern you
> describe, yet.

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...

TX

-- 
             Email: Trejkaz Xaoza <trejkaz at trypticon.org>
          Web site: http://trypticon.org/
         Jabber ID: trejkaz at jabber.zim.net.au
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20050829/f7258638/attachment-0002.pgp>


More information about the JDev mailing list