[Opensim-dev] IClientAPI vs ???

MW michaelwri22 at yahoo.co.uk
Mon Jun 8 16:41:02 UTC 2009


Adam started doing just that a while ago with the IClientCore and split a few methods out to other intefaces. Its just it has never had much work done on it since. I guess we should maybe make it a aim to finish that for the 0.7.x series. 

--- On Mon, 8/6/09, diva at metaverseink.com <diva at metaverseink.com> wrote:

From: diva at metaverseink.com <diva at metaverseink.com>
Subject: Re: [Opensim-dev] IClientAPI vs ???
To: opensim-dev at lists.berlios.de
Date: Monday, 8 June, 2009, 4:42 PM

I hate the IClientAPI. It's ginormous! The reason why I hate it is that 
I tend to look at OpenSim dlls as components that can be reused by other 
programs. When those dlls have dependencies on IClientAPI, it's a pain 
in the neck to have to implement the 400 functions in it, especially 
when only 6 need 'meat.'

The IClientAPI is the abstract representation of the Linden client. 
Maybe we could split it into, say, 50 different APIs that represent 
functional units of clients. And then have LLClientView be an aggregator 
of all those interfaces?

Michael Cortez wrote:
> On more then one occasion it's been brought to my attention that 
> creating references to/with IClientAPI is bad and should be avoided.  At 
> other times, I've seen people instructed that they should use it instead 
> of doing X, Y or Z.
> 
> I would like to try and get a consensus of those with commit access, to 
> determine if/when IClientAPI should be :
> 1) avoided at all costs
> 2) avoided when there isn't much extra work
> 3) used because there's no significant reason to avoid it
> 
> And if your recommending 1 or 2, what alternatives do you suggest for 
> obtaining information about the Agent that the IClientAPI currently 
> provides.  Using 1 or 2 will sometimes create additional dependencies on 
> other systems.
> 
> Thanks,
> --
> Michael Cortez
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
> 
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20090608/c80e7d9c/attachment-0001.html>


More information about the Opensim-dev mailing list