[Opensim-dev] Conversion to IClientCore

Frisby, Adam adam at deepthink.com.au
Sun Jan 25 23:49:35 UTC 2009


Hi guys,

I've been somewhat distracted lately getting ModRex up and running that I haven't had time to finish the conversion process I started back in November from the IClientAPI interfaces to IClientCore ones. I would like to see if we can get some additional people in writing patches to add the new IClientCore interfaces.

The process is fairly simple, and I hope we can organise some kind of effort ala the LSL-functions effort where a list is composed then split up into discrete tasks that are more palletable to a community effort.

For those interested in the technical details of what needs to be done - it's a case of:

Phase 1

-          Find a group of functions and events in IClientAPI.cs that are related (eg, Chat, Parcels, TerrainData, etc)

-          Create a new IClient<TYPE>.cs file (eg IClientChat.cs) and cut and paste those functions and events into the new interface.

-          Add "IClientType" to LLClientView.cs to inherit from, and update the function at the bottom to Register the extra interface.

-          Rinse and Repeat until all functions have IClient<TYPE>.cs's.

Once we've added new interfaces for everything, it becomes time to start porting over modules to use the newer interfaces

Phase 2

-          Find references to IClientAPI and replace them with IClientCore equivilents. There's a page on the wiki ("OpenSim 0.6 IClientAPI") which contains examples and an example howto.

Anyone (Charles?) feel like drawing up the list of items to be ported and begin the work?

Regards,

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20090125/863e9803/attachment-0001.html>


More information about the Opensim-dev mailing list