I think we need to close the stream in both the case of icb and cb. But this is a good first fix until we get something more robust. Maybe we need to do more in the case of an icb, Maybe add a download resume feature.
I will commit what you wrote except with line 39 = cond.asyncFeed(this,this,reply.length.longValue()); > From: "Jebu Ittiachen" <jebui at netzero.net> > Reply-To: freenet-dev at lists.sourceforge.net > Date: Sun, 9 Apr 2000 15:28:31 -0500 > To: <freenet-dev at lists.sourceforge.net> > Subject: Re: [Freenet-dev] Improved FGUI > > Well thats great implement the Callback on SimpleRequestClient and use the > callback, i'm attaching the changed version..... > A few thots... > > How about changing the structure of Conduit from doing just a single > callback to handle multiple callback objects, something like event/listener > model where u register the callback and the Conduit propogates the callback > to all of them with maybe a few parameters? Guess it would provide for a > better developement of GUI's on top of the basic framework. and maybe > generalise the counter to also work on top of this, tying down the counter > so hard into the heart of conduit does seem to be a very good idea ........ > A status window which logs the messages instead of having it on the > console....... > > > Regards > Jebu Ittiachen > _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
