diff options
author | Mike Mazur | 2009-02-16 02:25:25 +0000 |
---|---|---|
committer | Mike Mazur | 2009-02-16 02:25:25 +0000 |
commit | 8d304725518424131fa42dce1515137e0bb1eada (patch) | |
tree | 69ba204f2560971b385332e5bd689cbc3a8fbff9 /OpenSim/Grid/AssetInventoryServer/Interfaces.cs | |
parent | - add OpenSim.Grid.AssetServer.Plugins.OpenSim as a dependency for OpenSim.Da... (diff) | |
download | opensim-SC_OLD-8d304725518424131fa42dce1515137e0bb1eada.zip opensim-SC_OLD-8d304725518424131fa42dce1515137e0bb1eada.tar.gz opensim-SC_OLD-8d304725518424131fa42dce1515137e0bb1eada.tar.bz2 opensim-SC_OLD-8d304725518424131fa42dce1515137e0bb1eada.tar.xz |
Rename NewAssetServer AssetInventoryServer and fully qualify with
OpenSim.Grid.AssetInventoryServer.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/AssetInventoryServer/Interfaces.cs (renamed from OpenSim/Grid/NewAssetServer/Interfaces.cs) | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Grid/NewAssetServer/Interfaces.cs b/OpenSim/Grid/AssetInventoryServer/Interfaces.cs index 8368922..fd9ed2c 100644 --- a/OpenSim/Grid/NewAssetServer/Interfaces.cs +++ b/OpenSim/Grid/AssetInventoryServer/Interfaces.cs | |||
@@ -34,7 +34,7 @@ using OpenMetaverse; | |||
34 | using OpenMetaverse.StructuredData; | 34 | using OpenMetaverse.StructuredData; |
35 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
36 | 36 | ||
37 | namespace AssetServer | 37 | namespace OpenSim.Grid.AssetInventoryServer |
38 | { | 38 | { |
39 | /// <summary> | 39 | /// <summary> |
40 | /// Response from a call to a backend provider | 40 | /// Response from a call to a backend provider |
@@ -50,27 +50,27 @@ namespace AssetServer | |||
50 | Failure | 50 | Failure |
51 | } | 51 | } |
52 | 52 | ||
53 | public class AssetServerPluginInitialiser : PluginInitialiserBase | 53 | public class AssetInventoryServerPluginInitialiser : PluginInitialiserBase |
54 | { | 54 | { |
55 | private AssetServer server; | 55 | private AssetInventoryServer server; |
56 | 56 | ||
57 | public AssetServerPluginInitialiser (AssetServer server) | 57 | public AssetInventoryServerPluginInitialiser (AssetInventoryServer server) |
58 | { | 58 | { |
59 | this.server = server; | 59 | this.server = server; |
60 | } | 60 | } |
61 | 61 | ||
62 | public override void Initialise (IPlugin plugin) | 62 | public override void Initialise (IPlugin plugin) |
63 | { | 63 | { |
64 | IAssetServerPlugin p = plugin as IAssetServerPlugin; | 64 | IAssetInventoryServerPlugin p = plugin as IAssetInventoryServerPlugin; |
65 | p.Initialise (server); | 65 | p.Initialise (server); |
66 | } | 66 | } |
67 | } | 67 | } |
68 | 68 | ||
69 | #region Interfaces | 69 | #region Interfaces |
70 | 70 | ||
71 | public interface IAssetServerPlugin : IPlugin | 71 | public interface IAssetInventoryServerPlugin : IPlugin |
72 | { | 72 | { |
73 | void Initialise(AssetServer server); | 73 | void Initialise(AssetInventoryServer server); |
74 | } | 74 | } |
75 | 75 | ||
76 | public interface IStorageProvider | 76 | public interface IStorageProvider |
@@ -83,7 +83,7 @@ namespace AssetServer | |||
83 | int ForEach(Action<Metadata> action, int start, int count); | 83 | int ForEach(Action<Metadata> action, int start, int count); |
84 | } | 84 | } |
85 | 85 | ||
86 | public interface IAssetStorageProvider : IAssetServerPlugin | 86 | public interface IAssetStorageProvider : IAssetInventoryServerPlugin |
87 | { | 87 | { |
88 | BackendResponse TryFetchMetadata(UUID assetID, out Metadata metadata); | 88 | BackendResponse TryFetchMetadata(UUID assetID, out Metadata metadata); |
89 | BackendResponse TryFetchData(UUID assetID, out byte[] assetData); | 89 | BackendResponse TryFetchData(UUID assetID, out byte[] assetData); |