* Fixing incorrect documentation for the continuation passing style IAssetService.Get() method

* Changing the SimianGrid asset service connector to match the corrected documentation
slimupdates
John Hurliman 2010-04-07 09:58:16 -07:00
parent 5fc9fe70af
commit 542abb9c43
2 changed files with 3 additions and 2 deletions

View File

@ -207,7 +207,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
AssetBase asset = m_cache.Get(id);
if (asset != null)
{
Util.FireAndForget(delegate(object o) { handler(id, sender, asset); });
handler(id, sender, asset);
return true;
}
}

View File

@ -51,7 +51,8 @@ namespace OpenSim.Services.Interfaces
byte[] GetData(string id);
/// <summary>
/// Get an asset asynchronously
/// Get an asset synchronously or asynchronously (depending on whether
/// it is locally cached) and fire a callback with the fetched asset
/// </summary>
/// <param name="id">The asset id</param>
/// <param name="sender">Represents the requester. Passed back via the handler</param>