From 17421593528f4126256dea6d0c844da9c218fdb7 Mon Sep 17 00:00:00 2001 From: mingchen Date: Mon, 4 Jun 2007 14:09:19 +0000 Subject: 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 --- Common/OpenSim.Framework/Interfaces/ILocalStorage.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Common/OpenSim.Framework/Interfaces') 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 public interface ILocalStorage { void Initialise(string datastore); + void StorePrim(PrimData prim); void RemovePrim(LLUUID primID); void LoadPrimitives(ILocalStorageReceiver receiver); + float[] LoadWorld(); void SaveMap(float[] heightmap); + + void SaveParcels(ParcelData[] parcels); + void LoadParcels(ILocalStorageParcelReceiver recv); + void ShutDown(); } @@ -49,6 +55,11 @@ namespace OpenSim.Framework.Interfaces { void PrimFromStorage(PrimData prim); } - + + public interface ILocalStorageParcelReceiver + { + void ParcelFromStorage(ParcelData data); + void NoParcelDataFromStorage(); + } } -- cgit v1.1