On Sat, Apr 28, 2001 at 01:09:12AM -0500, Brandon wrote:
> 
> >     IC> I actually think that we should eat our own dogfood, and
> >     IC> replace the FreenetInsert and FreenetRequest with versions
> >     IC> that use FCP.
> >
> > That could be done at the SimpleClient level, rather than with
> > FreenetInsert/Request.
> 
> I'm working on an XML-RPC-based freenetmirror clone. I first attempted to
> modify freenetmirror and PutFiles but found that the references to Client
> were prevalent rather than contained and decided that it would be too
> messy to switch. If you'd like to move freenetmirror around so that all of
> the Client calls are in a single class then I would happily replace them
> with calls to the Streaming API.

Hmm..  have you considered making an XMLRPCClient implementation of
Freenet.client.ClientFactory ?  Then java programs would have the choice
of 3 client modes all with the same API:

    ClientFactory cf = new FNPClient(core, target);
    ClientFactory cf = new FCPClient(target);
    ClientFactory cf = new XMLRPCClient(???);

Users of SimplifiedClient, and in the future AutoClient, would also have
access to 3 backends with the same API.
    
-- 

# tavin cole
#
# "The process of scientific discovery is, in effect,
#  a continual flight from wonder."
#                                   - Albert Einstein


_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to