straw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Straw-devel] stop transfer


From: Juri Pakaste
Subject: [Straw-devel] stop transfer
Date: Wed, 16 Jun 2004 21:13:23 +0300

Guys, I committed the stop transfer stuff today. I don't trust it very
much, so please test. Two ways to test it: 1) just use Straw normally
(it required changes to the stuff in URLFetch.py) 2) try using the stop
refresh option in the feed popup menu. It's supposed to stop both the
feed transfer and any image transfers.

Jan, I haven't looked how the SubscribeDialog works these days, but you
can use either the PollStopper object you get from PollManager.poll or
the callable you get from ConnectionManager.request to implement the
stop button. There was a slight change of plans from what we discussed
on IRC: I didn't want to return the ConsumerAdapter object because the
stop() method is the only thing that should interest any part of Straw
outside URLFetch.

We should also be able to implement a global stop button; it would
require iterating through FeedList and calling stop_polling() on each
feed's router. Or not: in fact, that doesn't deal with categories. We
should probably store the PollStopper object in OPMLCategorySubscription
too and add the needed machinery to make it work ok.

Olivier: the problem you mailed the stack trace from should be fixed
now, too.

-- 
[ Juri Pakaste | address@hidden | http://www.iki.fi/juri/ ]

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]