On Wednesday 04 April 2001 02:02,  Tavin wrote:
> >
> > Can you really do this without sacrificing the rich functionality
> > provided by the current Client implementation?
>
> Yes.
What I meant by this is that no matter what Client factory I use, I must get
exactly the same behavior from the resulting Client interface, including the
order and type and arguments of all events dispatched during the execution of 
all public methods.  

If you cannot satisfy this requirement then the "Client" you are returning 
from your client factory isn't equivalent to the current Client  at all.  It 
is something else and should have a different type (e.g. 
LowestCommonDenominatorClient)

I don't see how you can do this at least not without a significant amount of 
work.  

Doesn't FCPClient have less functionality than the FNPClient?

>
> ...
> > What about ClientEvents?
>
> I didn't change the event framework at all.  You just add your listeners to
> the Request object instead of the RequestToken.
>
It isn't a question of changing the framework.  It is a question of 
supporting the identical event behavior across varying backend 
implementations.

--gj

P.S.: I wouldn't commit this without an ok from Oskar.

-- 
Web page inside Freenet:
freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//

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

Reply via email to