diff options
author | lbsa71 | 2009-04-13 20:04:18 +0000 |
---|---|---|
committer | lbsa71 | 2009-04-13 20:04:18 +0000 |
commit | 29355de6ee01b1f44f32ea45b9c06f636ae9a241 (patch) | |
tree | 677fb0c71117a6feaa5891f5c7ceacdd8d2069a6 /OpenSim/Data/AssetDataBase.cs | |
parent | * Remove null reference exception in the J2KDecoderModule's J2K repair routin... (diff) | |
download | opensim-SC_OLD-29355de6ee01b1f44f32ea45b9c06f636ae9a241.zip opensim-SC_OLD-29355de6ee01b1f44f32ea45b9c06f636ae9a241.tar.gz opensim-SC_OLD-29355de6ee01b1f44f32ea45b9c06f636ae9a241.tar.bz2 opensim-SC_OLD-29355de6ee01b1f44f32ea45b9c06f636ae9a241.tar.xz |
* Some more experimental work on distributed assets. Nothing hotwired yet.
* Introduced preprocess step in FetchAsset (Might revert this later)
* Some minor CCC
* Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1.
* Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/AssetDataBase.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Data/AssetDataBase.cs b/OpenSim/Data/AssetDataBase.cs index d699f17..e67d9cb 100644 --- a/OpenSim/Data/AssetDataBase.cs +++ b/OpenSim/Data/AssetDataBase.cs | |||
@@ -25,7 +25,10 @@ | |||
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 System; | ||
28 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | ||
31 | using System.Text.RegularExpressions; | ||
29 | using OpenMetaverse; | 32 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
31 | 34 | ||
@@ -33,7 +36,13 @@ namespace OpenSim.Data | |||
33 | { | 36 | { |
34 | public abstract class AssetDataBase : IAssetDataPlugin | 37 | public abstract class AssetDataBase : IAssetDataPlugin |
35 | { | 38 | { |
36 | public abstract AssetBase FetchAsset(UUID uuid); | 39 | public virtual AssetBase FetchAsset(UUID uuid) |
40 | { | ||
41 | return FetchStoredAsset(uuid); | ||
42 | } | ||
43 | |||
44 | protected abstract AssetBase FetchStoredAsset(UUID uuid); | ||
45 | |||
37 | public abstract void CreateAsset(AssetBase asset); | 46 | public abstract void CreateAsset(AssetBase asset); |
38 | public abstract void UpdateAsset(AssetBase asset); | 47 | public abstract void UpdateAsset(AssetBase asset); |
39 | public abstract bool ExistsAsset(UUID uuid); | 48 | public abstract bool ExistsAsset(UUID uuid); |