aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenSim.Framework/Interfaces
diff options
context:
space:
mode:
authormingchen2007-06-04 14:09:19 +0000
committermingchen2007-06-04 14:09:19 +0000
commit17421593528f4126256dea6d0c844da9c218fdb7 (patch)
tree69025fb439a08c24787a226b708f7b271610c548 /Common/OpenSim.Framework/Interfaces
parentSmall bugfix. (diff)
downloadopensim-SC-17421593528f4126256dea6d0c844da9c218fdb7.zip
opensim-SC-17421593528f4126256dea6d0c844da9c218fdb7.tar.gz
opensim-SC-17421593528f4126256dea6d0c844da9c218fdb7.tar.bz2
opensim-SC-17421593528f4126256dea6d0c844da9c218fdb7.tar.xz
Parcel Manager Changes:
*Added Parcel Backup Support for DB4. Other storages currently do not save *Added parcelIDList in ParcelManager to speed up parcel fetching at position *Added ParcelData.cs and ParcelData class for better storage support *Documentation for parcel added *2 Parcel Related bug fixes
Diffstat (limited to 'Common/OpenSim.Framework/Interfaces')
-rw-r--r--Common/OpenSim.Framework/Interfaces/ILocalStorage.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs b/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
index 4dd8868..9fa3a00 100644
--- a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
+++ b/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
@@ -37,11 +37,17 @@ namespace OpenSim.Framework.Interfaces
37 public interface ILocalStorage 37 public interface ILocalStorage
38 { 38 {
39 void Initialise(string datastore); 39 void Initialise(string datastore);
40
40 void StorePrim(PrimData prim); 41 void StorePrim(PrimData prim);
41 void RemovePrim(LLUUID primID); 42 void RemovePrim(LLUUID primID);
42 void LoadPrimitives(ILocalStorageReceiver receiver); 43 void LoadPrimitives(ILocalStorageReceiver receiver);
44
43 float[] LoadWorld(); 45 float[] LoadWorld();
44 void SaveMap(float[] heightmap); 46 void SaveMap(float[] heightmap);
47
48 void SaveParcels(ParcelData[] parcels);
49 void LoadParcels(ILocalStorageParcelReceiver recv);
50
45 void ShutDown(); 51 void ShutDown();
46 } 52 }
47 53
@@ -49,6 +55,11 @@ namespace OpenSim.Framework.Interfaces
49 { 55 {
50 void PrimFromStorage(PrimData prim); 56 void PrimFromStorage(PrimData prim);
51 } 57 }
52 58
59 public interface ILocalStorageParcelReceiver
60 {
61 void ParcelFromStorage(ParcelData data);
62 void NoParcelDataFromStorage();
63 }
53} 64}
54 65