[Opensim-dev] IClientAPI vs ???

diva at metaverseink.com diva at metaverseink.com
Mon Jun 8 15:42:35 UTC 2009


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
> 



More information about the Opensim-dev mailing list