[jdev] Cancelling an iq query

Norman Rasmussen normanr at gmail.com
Mon Aug 29 14:14:26 CDT 2005


On 29/08/05, Ralph Meijer <jabber.org at ralphm.ik.nu> wrote:
> On Mon, Aug 29, 2005 at 08:21:39PM +0200, Norman Rasmussen wrote:
> > I think the point here, is that nothing stops you from writing an
> > AdHoc command that returns a list of currently executing commands, and
> > allows you to pick on, and cancel it.
> 
> Sure, you could use JEP-0050 for that, but that wasn't the complete
> problem of the other Ralph. He wanted to be able to cancel a placed
> request *and* still receive results asynchronously. Or do you propose
> not replying to the original <iq/> until the request has indeed been
> completed or cancelled?

Indeed, the reply to the iq should not be returned until the command
is complete.

-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list