diff options
author | Justin Clark-Casey (justincc) | 2012-10-30 01:19:32 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-30 01:19:32 +0000 |
commit | 9bc4dc6c5f7c8d1430db31a657399d0bf794a7f7 (patch) | |
tree | e8e12a3e12c2769bdb75e4fc765e3d2036d25b2a | |
parent | Add asset != null check to ODEPrim.MeshAssetReceived instead of throwing exce... (diff) | |
download | opensim-SC-9bc4dc6c5f7c8d1430db31a657399d0bf794a7f7.zip opensim-SC-9bc4dc6c5f7c8d1430db31a657399d0bf794a7f7.tar.gz opensim-SC-9bc4dc6c5f7c8d1430db31a657399d0bf794a7f7.tar.bz2 opensim-SC-9bc4dc6c5f7c8d1430db31a657399d0bf794a7f7.tar.xz |
Add method doc to IAssetService.Get(string, object, AssetRetrieved) outlining the situations in which AssetRetrieved may be called back with a null AssetBase.
These situations include asset not found and remote service not responding.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IAssetService.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IAssetService.cs b/OpenSim/Services/Interfaces/IAssetService.cs index 80494f1..3c469c6 100644 --- a/OpenSim/Services/Interfaces/IAssetService.cs +++ b/OpenSim/Services/Interfaces/IAssetService.cs | |||
@@ -68,7 +68,11 @@ namespace OpenSim.Services.Interfaces | |||
68 | /// </summary> | 68 | /// </summary> |
69 | /// <param name="id">The asset id</param> | 69 | /// <param name="id">The asset id</param> |
70 | /// <param name="sender">Represents the requester. Passed back via the handler</param> | 70 | /// <param name="sender">Represents the requester. Passed back via the handler</param> |
71 | /// <param name="handler">The handler to call back once the asset has been retrieved</param> | 71 | /// <param name="handler"> |
72 | /// The handler to call back once the asset has been retrieved. This will be called back with a null AssetBase | ||
73 | /// if the asset could not be found for some reason (e.g. if it does not exist, if a remote asset service | ||
74 | /// was not contactable, if it is not in the database, etc.). | ||
75 | /// </param> | ||
72 | /// <returns>True if the id was parseable, false otherwise</returns> | 76 | /// <returns>True if the id was parseable, false otherwise</returns> |
73 | bool Get(string id, Object sender, AssetRetrieved handler); | 77 | bool Get(string id, Object sender, AssetRetrieved handler); |
74 | 78 | ||