OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest Class Reference

Encapsulate the asynchronous requests for the assets required for an archive operation. More...

List of all members.

Public Member Functions

void AssetRequestCallback (UUID assetID, AssetBase asset)
 Called back by the asset cache when it has the asset.

Protected Member Functions

internal AssetsRequest (ICollection< UUID > uuids, AssetCache assetCache, AssetsRequestCallback assetsRequestCallback)
internal void Execute ()
void PerformAssetsRequestCallback ()
 Perform the callback on the original requester of the assets.

Protected Attributes

ICollection< UUID > m_uuids
 uuids to request
AssetsRequestCallback m_assetsRequestCallback
 Callback used when all the assets requested have been received.
Dictionary< UUID, AssetBasem_assets = new Dictionary<UUID, AssetBase>()
 Assets retrieved in this request.
List< UUID > m_notFoundAssetUuids = new List<UUID>()
 Maintain a list of assets that could not be found. This will be passed back to the requester.
AssetCache m_assetCache
 Asset cache used to request the assets.


Detailed Description

Encapsulate the asynchronous requests for the assets required for an archive operation.


Constructor & Destructor Documentation

internal OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest::AssetsRequest ( ICollection< UUID >  uuids,
AssetCache  assetCache,
AssetsRequestCallback  assetsRequestCallback 
) [inline, protected]


Member Function Documentation

internal void OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest::Execute (  )  [inline, protected]

void OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest::AssetRequestCallback ( UUID  assetID,
AssetBase  asset 
) [inline]

Called back by the asset cache when it has the asset.

Parameters:
assetID 
asset 

void OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest::PerformAssetsRequestCallback (  )  [inline, protected]

Perform the callback on the original requester of the assets.


Member Data Documentation

ICollection<UUID> OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest::m_uuids [protected]

uuids to request

AssetsRequestCallback OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest::m_assetsRequestCallback [protected]

Callback used when all the assets requested have been received.

Dictionary<UUID, AssetBase> OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest::m_assets = new Dictionary<UUID, AssetBase>() [protected]

Assets retrieved in this request.

List<UUID> OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest::m_notFoundAssetUuids = new List<UUID>() [protected]

Maintain a list of assets that could not be found. This will be passed back to the requester.

AssetCache OpenSim::Region::Environment::Modules::World::Archiver::AssetsRequest::m_assetCache [protected]

Asset cache used to request the assets.


The documentation for this class was generated from the following file:
Generated on Thu Nov 20 01:00:41 2008 for OpenSim by  doxygen 1.5.1