diff options
author | MW | 2009-02-26 21:30:12 +0000 |
---|---|---|
committer | MW | 2009-02-26 21:30:12 +0000 |
commit | e2d30a02446c8b5d1b8be090f4ccc1fc98d019f5 (patch) | |
tree | 8be1ecceedead7721711a8554c8ae70c8072bbfc /OpenSim/Framework | |
parent | * This patch reduces the excessive number of threads opened by the Timer even... (diff) | |
download | opensim-SC-e2d30a02446c8b5d1b8be090f4ccc1fc98d019f5.zip opensim-SC-e2d30a02446c8b5d1b8be090f4ccc1fc98d019f5.tar.gz opensim-SC-e2d30a02446c8b5d1b8be090f4ccc1fc98d019f5.tar.bz2 opensim-SC-e2d30a02446c8b5d1b8be090f4ccc1fc98d019f5.tar.xz |
Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin.
Also in that plugin it registers the IUserService with all the Scenes (as they are created). So now we can start changing over all uses of IUserService, that currently access it from the CommunicationsManager to accessing it from the Scene.RequestModuleInterface call.
Once that is done we can move the UserService creation out to its own plugin and remove all references to it from the CommunicationsManager. Then we can take the next CommunicationsManager interface and repeat.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IScene.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/IScene.cs b/OpenSim/Framework/IScene.cs index c400309..572d045 100644 --- a/OpenSim/Framework/IScene.cs +++ b/OpenSim/Framework/IScene.cs | |||
@@ -89,6 +89,9 @@ namespace OpenSim.Framework | |||
89 | T RequestModuleInterface<T>(); | 89 | T RequestModuleInterface<T>(); |
90 | T[] RequestModuleInterfaces<T>(); | 90 | T[] RequestModuleInterfaces<T>(); |
91 | 91 | ||
92 | void RegisterModuleInterface<M>(M mod); | ||
93 | void StackModuleInterface<M>(M mod); | ||
94 | |||
92 | void AddCommand(object module, string command, string shorthelp, string longhelp, CommandDelegate callback); | 95 | void AddCommand(object module, string command, string shorthelp, string longhelp, CommandDelegate callback); |
93 | } | 96 | } |
94 | } | 97 | } |