> But you are the author of SimplifiedClient after all..  can you comment
> on whether SimplifiedClient would be affected by my proposed changes to
> the client events?  Of course I realize it would need to be tweaked if
> we dispensed with the TRANSFERRING Request state.

I suppose you mean will it break it fundamentally since obviously it will
have to be tweaked whenever you change the Client API around. The only
thing that might be broken by changing the events around is that you have
to make sure to allow for streaming. So there needs to be an event that is
throw when the metadata has finished downloading but before the data has
started downloading, and of course an event needs to be thrown when the
data has finished downloading. For uploading this isn't necessary since
you have to have the entire file before the transfer can start.

But basically it would be pretty hard to change Client so that
SimplifiedClient wouldn't work since it abstracts the events to a very
high level. The only reason I mention the metadata finished event is
because this wasn't originally included in the Client API and had to be
added to facilitate streaming. If there was such an oversight in the
beginning then it's the sort of thing that might be phased out during
simplification, so I thought I'd better mention it, just in case.



_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl
>From - Thu May  3 00:17:24 2001
Return-Path: <devl-admin at freenetproject.org>
Received: from hawk.freenetproject.org (postfix@[4.18.42.11])
        by funky.danky.com (8.9.3/8.8.7) with ESMTP id UAA12463
        for <danello at danky.com>; Wed, 2 May 2001 20:32:51 -0400
Received: from hawk.freenetproject.org (localhost [127.0.0.1])
        by hawk.freenetproject.org (Postfix) with ESMTP
        id BCC645812A; Wed,  2 May 2001 18:13:02 -0700 (PDT)
Delivered-To: devl at freenetproject.org
Received: from server5.generalmail.com (server5.fpw.ch [194.209.117.20])
        by hawk.freenetproject.org (Postfix) with ESMTP id BE3F5580B9
        for <devl at freenetproject.org>; Wed,  2 May 2001 18:12:18 -0700 (PDT)
Received: from localhost ([194.209.117.3]) by server5.generalmail.com
          (Post.Office MTA v3.5 release 215 ID# 0-58584U1100L100S0V35)
          with ESMTP id com for <devl at freenetproject.org>;

Reply via email to