[Opensim-dev] Comms Manager

MW michaelwri22 at yahoo.co.uk
Thu Feb 26 12:48:44 UTC 2009


Just a though,t but maybe we are trying to be too generic in finding a single interface that meets all needs. We have a plugin loader (Mono.addins) that can quite easily load different plugin types. So by using the IApplicationPlugin system, we can have them also loading other plugin types. 

If basically we are saying that we want two different Module/Interface registeries (Global and Scene), then there is no reason that as long as all the plugins only register interfaces with those registeries why we can't have the multiple plugin types. So we have a type (and loader) that is able to register event handlers so it can be informed about scenes. And we a loader that can load the modules from the Grid servers directly. 

The loaders would be minor things basically just using PluginLoader to load the plugins. 

We could say this increases the complexity, but I actually think by having initialisation interfaces that are right for the task that the modules are going to do makes sense.

--- On Thu, 26/2/09, Melanie <melanie at t-data.com> wrote:
From: Melanie <melanie at t-data.com>
Subject: Re: [Opensim-dev] Comms Manager
To: opensim-dev at lists.berlios.de
Date: Thursday, 26 February, 2009, 12:36 PM

I don't think Grid and Asset modules need to load into region 
servers, and vice versa. At least not by the same interface. That 
interchangeability makes other things that are useful almost 
impossibly complex.

Melanie

Stefan Andersson wrote:
> No, didn't notice that, but I question why Grid or Asset server
modules should even be aware of that, regardless of how the IScene interface
looks or what types that, in turn, pulls in.
> 
> Best regards,
> Stefan Andersson
> Tribal Media AB
> 
> 
>> Date: Thu, 26 Feb 2009 12:29:19 +0000
>> From: melanie at t-data.com
>> To: opensim-dev at lists.berlios.de
>> Subject: Re: [Opensim-dev] Comms Manager
>> 
>> Hi,
>> 
>> note that I used IScene sxclusively?
>> 
>> Melanie
>> 
>> Stefan Andersson wrote:
>> > Um, yeah, having 'Scene' as a type in anyhting outside of
the Region will lead to grief.
>> > 
>> > 
>> > Suggestion:
>> > 
>> > 
>> > 
>> > --- OpenSim.Framework: ---
>> > 
>> > 
>> > 
>> > IGenericModule
>> > 
>> > {
>> > 
>> > Initialise();
>> > 
>> > PostInitialise();
>> > 
>> > }
>> > 
>> > 
>> > 
>> > --- OpenSim.Region.Framework: ---
>> > 
>> > 
>> > 
>> > IRegionModule : IGenericModule
>> > 
>> > {
>> > 
>> > OnNewScene();
>> > 
>> > OnSceneRemoved();
>> > 
>> > }
>> > 
>> > 
>> > 
>> > Best regards,
>> > Stefan Andersson
>> > Tribal Media AB
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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/20090226/a731f91a/attachment-0001.html>


More information about the Opensim-dev mailing list