diff options
author | Justin Clarke Casey | 2008-12-19 19:07:11 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-12-19 19:07:11 +0000 |
commit | eb6cca4750e1fff2c1d8e0be93564b5f122571d9 (patch) | |
tree | 8c57e209eb1470f27e0b5aef0bbf03ff08686e99 /OpenSim/Region/Environment/Modules/World/Archiver | |
parent | Reset Expire date for tempOnRez objects on rez. Fixes Mantis#2848 (diff) | |
download | opensim-SC-eb6cca4750e1fff2c1d8e0be93564b5f122571d9.zip opensim-SC-eb6cca4750e1fff2c1d8e0be93564b5f122571d9.tar.gz opensim-SC-eb6cca4750e1fff2c1d8e0be93564b5f122571d9.tar.bz2 opensim-SC-eb6cca4750e1fff2c1d8e0be93564b5f122571d9.tar.xz |
* refactor: Rename IRegionSerialiser and move into interfaces namespace
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Archiver')
3 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs index 3cd0652..e04662f 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | |||
@@ -25,11 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenSim.Framework; | ||
29 | using OpenSim.Region.Environment.Scenes; | ||
30 | using OpenSim.Region.Environment.Modules.World.Serialiser; | ||
31 | using OpenSim.Region.Environment.Modules.World.Terrain; | ||
32 | using OpenSim.Framework.Communications.Cache; | ||
33 | using System; | 28 | using System; |
34 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
35 | using System.IO; | 30 | using System.IO; |
@@ -39,6 +34,11 @@ using System.Xml; | |||
39 | using System.Net; | 34 | using System.Net; |
40 | using OpenMetaverse; | 35 | using OpenMetaverse; |
41 | using log4net; | 36 | using log4net; |
37 | using OpenSim.Framework; | ||
38 | using OpenSim.Framework.Communications.Cache; | ||
39 | using OpenSim.Region.Environment.Interfaces; | ||
40 | using OpenSim.Region.Environment.Scenes; | ||
41 | using OpenSim.Region.Environment.Modules.World.Terrain; | ||
42 | 42 | ||
43 | namespace OpenSim.Region.Environment.Modules.World.Archiver | 43 | namespace OpenSim.Region.Environment.Modules.World.Archiver |
44 | { | 44 | { |
@@ -124,7 +124,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
124 | // Reload serialized prims | 124 | // Reload serialized prims |
125 | m_log.InfoFormat("[ARCHIVER]: Loading {0} scene objects. Please wait.", serialisedSceneObjects.Count); | 125 | m_log.InfoFormat("[ARCHIVER]: Loading {0} scene objects. Please wait.", serialisedSceneObjects.Count); |
126 | 126 | ||
127 | IRegionSerialiser serialiser = m_scene.RequestModuleInterface<IRegionSerialiser>(); | 127 | IRegionSerialiserModule serialiser = m_scene.RequestModuleInterface<IRegionSerialiserModule>(); |
128 | ICollection<SceneObjectGroup> sceneObjects = new List<SceneObjectGroup>(); | 128 | ICollection<SceneObjectGroup> sceneObjects = new List<SceneObjectGroup>(); |
129 | 129 | ||
130 | foreach (string serialisedSceneObject in serialisedSceneObjects) | 130 | foreach (string serialisedSceneObject in serialisedSceneObjects) |
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs index 5b4d9e5..73fa5d2 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
54 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 54 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
55 | 55 | ||
56 | protected ITerrainModule m_terrainModule; | 56 | protected ITerrainModule m_terrainModule; |
57 | protected IRegionSerialiser m_serialiser; | 57 | protected IRegionSerialiserModule m_serialiser; |
58 | protected List<SceneObjectGroup> m_sceneObjects; | 58 | protected List<SceneObjectGroup> m_sceneObjects; |
59 | protected string m_sceneName; | 59 | protected string m_sceneName; |
60 | protected string m_savePath; | 60 | protected string m_savePath; |
@@ -62,7 +62,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
62 | public ArchiveWriteRequestExecution( | 62 | public ArchiveWriteRequestExecution( |
63 | List<SceneObjectGroup> sceneObjects, | 63 | List<SceneObjectGroup> sceneObjects, |
64 | ITerrainModule terrainModule, | 64 | ITerrainModule terrainModule, |
65 | IRegionSerialiser serialiser, | 65 | IRegionSerialiserModule serialiser, |
66 | string sceneName, | 66 | string sceneName, |
67 | string savePath) | 67 | string savePath) |
68 | { | 68 | { |
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs index bb3a18d..9cf6bf5 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | |||
@@ -287,7 +287,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
287 | = new ArchiveWriteRequestExecution( | 287 | = new ArchiveWriteRequestExecution( |
288 | sceneObjects, | 288 | sceneObjects, |
289 | m_scene.RequestModuleInterface<ITerrainModule>(), | 289 | m_scene.RequestModuleInterface<ITerrainModule>(), |
290 | m_scene.RequestModuleInterface<IRegionSerialiser>(), | 290 | m_scene.RequestModuleInterface<IRegionSerialiserModule>(), |
291 | m_scene.RegionInfo.RegionName, | 291 | m_scene.RegionInfo.RegionName, |
292 | m_savePath); | 292 | m_savePath); |
293 | new AssetsRequest(assetUuids.Keys, m_scene.AssetCache, awre.ReceivedAllAssets).Execute(); | 293 | new AssetsRequest(assetUuids.Keys, m_scene.AssetCache, awre.ReceivedAllAssets).Execute(); |