mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
* 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)
This commit is contained in:
@@ -25,7 +25,10 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
|
||||
@@ -33,7 +36,13 @@ namespace OpenSim.Data
|
||||
{
|
||||
public abstract class AssetDataBase : IAssetDataPlugin
|
||||
{
|
||||
public abstract AssetBase FetchAsset(UUID uuid);
|
||||
public virtual AssetBase FetchAsset(UUID uuid)
|
||||
{
|
||||
return FetchStoredAsset(uuid);
|
||||
}
|
||||
|
||||
protected abstract AssetBase FetchStoredAsset(UUID uuid);
|
||||
|
||||
public abstract void CreateAsset(AssetBase asset);
|
||||
public abstract void UpdateAsset(AssetBase asset);
|
||||
public abstract bool ExistsAsset(UUID uuid);
|
||||
|
||||
Reference in New Issue
Block a user