diff options
Extracted the code that handles the sending of prim updates to the client, from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes.
By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/ISceneViewer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/ISceneViewer.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ISceneViewer.cs b/OpenSim/Region/Framework/Interfaces/ISceneViewer.cs new file mode 100644 index 0000000..1b2cdee --- /dev/null +++ b/OpenSim/Region/Framework/Interfaces/ISceneViewer.cs | |||
@@ -0,0 +1,14 @@ | |||
1 | using System; | ||
2 | using OpenSim.Region.Framework.Scenes; | ||
3 | |||
4 | namespace OpenSim.Region.Framework.Interfaces | ||
5 | { | ||
6 | public interface ISceneViewer | ||
7 | { | ||
8 | void Reset(); | ||
9 | void Close(); | ||
10 | int MaxPrimsPerFrame { get; set; } | ||
11 | void QueuePartForUpdate(SceneObjectPart part); | ||
12 | void SendPrimUpdates(); | ||
13 | } | ||
14 | } | ||