diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IAssetService.cs | 10 |
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> |