aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetServer
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/AssetServer')
-rw-r--r--OpenSim/Grid/AssetServer/Main.cs8
-rw-r--r--OpenSim/Grid/AssetServer/RestService.cs8
2 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs
index 72300b5..b5c8df0 100644
--- a/OpenSim/Grid/AssetServer/Main.cs
+++ b/OpenSim/Grid/AssetServer/Main.cs
@@ -51,7 +51,7 @@ namespace OpenSim.Grid.AssetServer
51 // Temporarily hardcoded - should be a plugin 51 // Temporarily hardcoded - should be a plugin
52 protected IAssetLoader assetLoader = new AssetLoaderFileSystem(); 52 protected IAssetLoader assetLoader = new AssetLoaderFileSystem();
53 53
54 private IAssetProviderPlugin m_assetProvider; 54 private IAssetDataPlugin m_assetProvider;
55 55
56 public static void Main(string[] args) 56 public static void Main(string[] args)
57 { 57 {
@@ -111,10 +111,10 @@ namespace OpenSim.Grid.AssetServer
111 return null; 111 return null;
112 } 112 }
113 113
114 public IAssetProviderPlugin LoadDatabasePlugin(string provider, string connect) 114 public IAssetDataPlugin LoadDatabasePlugin(string provider, string connect)
115 { 115 {
116 PluginLoader<IAssetProviderPlugin> loader = 116 PluginLoader<IAssetDataPlugin> loader =
117 new PluginLoader<IAssetProviderPlugin> (new AssetDataInitialiser (connect)); 117 new PluginLoader<IAssetDataPlugin> (new AssetDataInitialiser (connect));
118 118
119 // loader will try to load all providers (MySQL, MSSQL, etc) 119 // loader will try to load all providers (MySQL, MSSQL, etc)
120 // unless it is constrainted to the correct "Provider" entry in the addin.xml 120 // unless it is constrainted to the correct "Provider" entry in the addin.xml
diff --git a/OpenSim/Grid/AssetServer/RestService.cs b/OpenSim/Grid/AssetServer/RestService.cs
index 7b5b334..e81cb3f 100644
--- a/OpenSim/Grid/AssetServer/RestService.cs
+++ b/OpenSim/Grid/AssetServer/RestService.cs
@@ -45,14 +45,14 @@ namespace OpenSim.Grid.AssetServer
45 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 45 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
46 46
47 // private OpenAsset_Main m_assetManager; 47 // private OpenAsset_Main m_assetManager;
48 private IAssetProviderPlugin m_assetProvider; 48 private IAssetDataPlugin m_assetProvider;
49 49
50 /// <summary> 50 /// <summary>
51 /// Constructor. 51 /// Constructor.
52 /// </summary> 52 /// </summary>
53 /// <param name="assetManager"></param> 53 /// <param name="assetManager"></param>
54 /// <param name="assetProvider"></param> 54 /// <param name="assetProvider"></param>
55 public GetAssetStreamHandler(IAssetProviderPlugin assetProvider) 55 public GetAssetStreamHandler(IAssetDataPlugin assetProvider)
56 : base("GET", "/assets") 56 : base("GET", "/assets")
57 { 57 {
58 m_log.Info("[REST]: In Get Request"); 58 m_log.Info("[REST]: In Get Request");
@@ -125,7 +125,7 @@ namespace OpenSim.Grid.AssetServer
125 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 125 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
126 126
127 // private OpenAsset_Main m_assetManager; 127 // private OpenAsset_Main m_assetManager;
128 private IAssetProviderPlugin m_assetProvider; 128 private IAssetDataPlugin m_assetProvider;
129 129
130 public override byte[] Handle(string path, Stream request, 130 public override byte[] Handle(string path, Stream request,
131 OSHttpRequest httpRequest, OSHttpResponse httpResponse) 131 OSHttpRequest httpRequest, OSHttpResponse httpResponse)
@@ -146,7 +146,7 @@ namespace OpenSim.Grid.AssetServer
146 return new byte[] {}; 146 return new byte[] {};
147 } 147 }
148 148
149 public PostAssetStreamHandler(IAssetProviderPlugin assetProvider) 149 public PostAssetStreamHandler(IAssetDataPlugin assetProvider)
150 : base("POST", "/assets") 150 : base("POST", "/assets")
151 { 151 {
152 // m_assetManager = assetManager; 152 // m_assetManager = assetManager;