On Sat, Apr 14, 2001 at 12:11:32PM +1200, David McNab wrote:
> > Why do you find you need to use CLI?  If there is a good reason, I can
> make
> > the functionality available through the standard API.  I'd rather CLI not
> be
> > used as a library.
> 
> I'm cutting a client.
> Also, I'm totally new to the Java language (but experienced in C).
> (And hopelessly new to Freenet as well, as embarrassingly revealed in my
> prior posts).
> 
> The CLI classes give me an easy 'black box' access to Freenet, which allows
> me to implement my functionality faster.
> The handy thing about these classes is that they give me a point of access
> which is within my present skill levels, and doesn't require me to
> re-implement any existing functionality, or know Freenet internals.
> 
> I'm sure as my knowledge of Java and Freenet grows over time, I'll feel
> confident to access Freenet in more 'technically correct' ways.
> But for now, the CLI access, and the Freenet.client.CLI.library flag, are an
> absolute god-send.

Well, your answer doesn't help me make things easier for you.  I want a code
sample of how you are using CLI so I can think about how to make that level
of simplicity available in the proper way.  CLI is meant for one thing:
RequestClient and InsertClient.

If you really insist on this you should subclass CLI and override the part
where it calls exit().

-- 

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


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

>From devl-admin at freenetproject.org  Fri Apr 13 23:32: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 XAA19016
        for <danello at danky.com>; Fri, 13 Apr 2001 23:32:20 -0400
Received: from hawk.freenetproject.org (localhost [127.0.0.1])
        by hawk.freenetproject.org (Postfix) with ESMTP
        id 85007580B4; Fri, 13 Apr 2001 20:14:05 -0700 (PDT)
Delivered-To: devl at freenetproject.org
Received: from server5.generalmail.com (server5.fpw.ch [194.209.117.20])

Reply via email to