From 7a2c41dea0f1faf1c6de88d1a3da934d178bae84 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 26 Jun 2009 12:09:43 +0000 Subject: 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] --- OpenSim/Region/Framework/Interfaces/ISceneViewer.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 OpenSim/Region/Framework/Interfaces/ISceneViewer.cs (limited to 'OpenSim/Region/Framework/Interfaces/ISceneViewer.cs') 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 @@ +using System; +using OpenSim.Region.Framework.Scenes; + +namespace OpenSim.Region.Framework.Interfaces +{ + public interface ISceneViewer + { + void Reset(); + void Close(); + int MaxPrimsPerFrame { get; set; } + void QueuePartForUpdate(SceneObjectPart part); + void SendPrimUpdates(); + } +} -- cgit v1.1