AssetDataBase.cs 612 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using libsecondlife;
  5. namespace OpenSim.Framework.Data
  6. {
  7. public abstract class AssetDataBase : IAssetProvider
  8. {
  9. public abstract AssetBase FetchAsset(LLUUID uuid);
  10. public abstract void CreateAsset(AssetBase asset);
  11. public abstract void UpdateAsset(AssetBase asset);
  12. public abstract bool ExistsAsset(LLUUID uuid);
  13. public abstract void CommitAssets();
  14. public abstract string Version { get; }
  15. public abstract string Name { get; }
  16. public abstract void Initialise();
  17. }
  18. }