[Opensim-dev] IClientAPI vs ???
Frisby, Adam
adam at deepthink.com.au
Tue Jun 9 00:33:52 UTC 2009
Yeah, it's drudge work.
I really want to get around to finishing it - but there's just soooo many methods on IClientAPI, it's a bit daunting for one developer. If anyone wants to help out - IClientCore is designed as a replacement for this, for exactly the reasons posted in here.
There's a wiki page by the name of '0.6_IClientAPI_Changes' or something which demonstrates how to port a function from IClientAPI to IClientCore.
Adam
From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of MW
Sent: Monday, 8 June 2009 9:41 AM
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] IClientAPI vs ???
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</mc/compose?to=Opensim-dev at lists.berlios.de>
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de</mc/compose?to=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/69bce25f/attachment-0001.html>
More information about the Opensim-dev
mailing list