aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IAssetService.cs
diff options
context:
space:
mode:
authorJohn Hurliman2010-04-08 15:00:01 -0700
committerJohn Hurliman2010-04-08 15:00:01 -0700
commit0f3314c04ccd07e0ff9b5be69903b0a72dd73115 (patch)
tree39fbecab8f5ae7232f625527058c7598e55dc46a /OpenSim/Services/Interfaces/IAssetService.cs
parentadd nant distbin target (diff)
downloadopensim-SC_OLD-0f3314c04ccd07e0ff9b5be69903b0a72dd73115.zip
opensim-SC_OLD-0f3314c04ccd07e0ff9b5be69903b0a72dd73115.tar.gz
opensim-SC_OLD-0f3314c04ccd07e0ff9b5be69903b0a72dd73115.tar.bz2
opensim-SC_OLD-0f3314c04ccd07e0ff9b5be69903b0a72dd73115.tar.xz
Backported GetTextureModule and IAssetService.GetCached()
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Interfaces/IAssetService.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IAssetService.cs b/OpenSim/Services/Interfaces/IAssetService.cs
index 6dfe78d..3be6815 100644
--- a/OpenSim/Services/Interfaces/IAssetService.cs
+++ b/OpenSim/Services/Interfaces/IAssetService.cs
@@ -51,7 +51,15 @@ namespace OpenSim.Services.Interfaces
51 byte[] GetData(string id); 51 byte[] GetData(string id);
52 52
53 /// <summary> 53 /// <summary>
54 /// Get an asset asynchronously 54 /// Synchronously fetches an asset from the local cache only
55 /// </summary>
56 /// <param name="id">Asset ID</param>
57 /// <returns>The fetched asset, or null if it did not exist in the local cache</returns>
58 AssetBase GetCached(string id);
59
60 /// <summary>
61 /// Get an asset synchronously or asynchronously (depending on whether
62 /// it is locally cached) and fire a callback with the fetched asset
55 /// </summary> 63 /// </summary>
56 /// <param name="id">The asset id</param> 64 /// <param name="id">The asset id</param>
57 /// <param name="sender">Represents the requester. Passed back via the handler</param> 65 /// <param name="sender">Represents the requester. Passed back via the handler</param>