Hi John and Michal,

 > [snip]
 >
> - Update the ProgressTracker to allow a client to derive from it and get 
> whatever fine grained progress information they need.

Could you please clarify what you mean by this? ProgressTracker can/must 
be subclassed even now as I understand it.

> - Add in support for canceling tasks. Currently IPS GUI uses a  simple 
> threading model to allow canceling at the file level. A better solution 
> would be to allow canceling at any point in the download using an event 
> based networking model aka twisted, but we may have to stick with the 
> simple solution initially at least to get things back up and running for 
> IPS GUI.
>

Would a simpler solution be to allow vetoing of individual progress
events for this by returning False/True from the individual event
handler? Currently the Update Tool GUI simulates this by throwing 
exception from the individual ProgressTracker handler methods.

Could you elaborate on how the Twisted framework approach would work?

Thanks
Manpreet
-- 
They did not know it was impossible, so they did it!
  -- Mark Twain
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to