diff options
author | Mike Mazur | 2009-02-03 05:20:03 +0000 |
---|---|---|
committer | Mike Mazur | 2009-02-03 05:20:03 +0000 |
commit | f8e45e8e981bfd87f3765d7452046515e11a9345 (patch) | |
tree | 1633c1c52b5a42ce5da507faa84dca0d5e96726f /OpenSim/Framework/Communications | |
parent | * Establish OnOarFileSaved EventManager event and subscribe to that instead o... (diff) | |
download | opensim-SC-f8e45e8e981bfd87f3765d7452046515e11a9345.zip opensim-SC-f8e45e8e981bfd87f3765d7452046515e11a9345.tar.gz opensim-SC-f8e45e8e981bfd87f3765d7452046515e11a9345.tar.bz2 opensim-SC-f8e45e8e981bfd87f3765d7452046515e11a9345.tar.xz |
Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data plugins.
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/Cache/SQLAssetServer.cs | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs index 137bde9..7fb06b9 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs | |||
@@ -43,9 +43,9 @@ namespace OpenSim.Framework.Communications.Cache | |||
43 | protected IAssetReceiver m_receiver; | 43 | protected IAssetReceiver m_receiver; |
44 | protected BlockingQueue<AssetRequest> m_assetRequests; | 44 | protected BlockingQueue<AssetRequest> m_assetRequests; |
45 | protected Thread m_localAssetServerThread; | 45 | protected Thread m_localAssetServerThread; |
46 | protected IAssetProviderPlugin m_assetProvider; | 46 | protected IAssetDataPlugin m_assetProvider; |
47 | 47 | ||
48 | public IAssetProviderPlugin AssetProviderPlugin | 48 | public IAssetDataPlugin AssetProviderPlugin |
49 | { | 49 | { |
50 | get { return m_assetProvider; } | 50 | get { return m_assetProvider; } |
51 | } | 51 | } |
diff --git a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs index 2f72e11..00dbad0 100644 --- a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs +++ b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs | |||
@@ -40,7 +40,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
40 | AddPlugin(pluginName, connect); | 40 | AddPlugin(pluginName, connect); |
41 | } | 41 | } |
42 | 42 | ||
43 | public SQLAssetServer(IAssetProviderPlugin assetProvider) | 43 | public SQLAssetServer(IAssetDataPlugin assetProvider) |
44 | { | 44 | { |
45 | m_assetProvider = assetProvider; | 45 | m_assetProvider = assetProvider; |
46 | } | 46 | } |
@@ -54,12 +54,12 @@ namespace OpenSim.Framework.Communications.Cache | |||
54 | { | 54 | { |
55 | if (!pluginType.IsAbstract) | 55 | if (!pluginType.IsAbstract) |
56 | { | 56 | { |
57 | Type typeInterface = pluginType.GetInterface("IAssetProviderPlugin", true); | 57 | Type typeInterface = pluginType.GetInterface("IAssetDataPlugin", true); |
58 | 58 | ||
59 | if (typeInterface != null) | 59 | if (typeInterface != null) |
60 | { | 60 | { |
61 | IAssetProviderPlugin plug = | 61 | IAssetDataPlugin plug = |
62 | (IAssetProviderPlugin) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); | 62 | (IAssetDataPlugin) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); |
63 | m_assetProvider = plug; | 63 | m_assetProvider = plug; |
64 | m_assetProvider.Initialise(connect); | 64 | m_assetProvider.Initialise(connect); |
65 | 65 | ||