On Tue, 11 Apr 2000, Dave Noha wrote:
> I noticed that RequestClient sleeps 10000 during the handshake, whereas
> InsertClient and Node both sleep for Core.handshakeTimeout (set to
> 30000).  IANAPH but that seems wrong.

Just a mistake. Someone should change it.

> Also, might we separate out the main()'s in InsertClient and
> RequestClient?  The objects themselves are useful in a number of
> situations other than command-line invocation.  The main()'s don't hurt
> of course, but I find that a class that starts with a main() and is only
> instantiated within that main() tends to lose reusability over time.

The main() was meant as a test tool, really. If you want, you should write one
main class that handles both inserting and requesting, and remove the main
classes from the objects. The simply GUI is already using the client objects
like I intended.


   > _______________________________________________
> Freenet-dev mailing list
> Freenet-dev at lists.sourceforge.net
> http://lists.sourceforge.net/mailman/listinfo/freenet-dev
-- 

Oskar Sandberg

md98-osa at nada.kth.se

#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to