Public Member Functions | |
| void | AssetRequestCallback (string id, object sender, AssetBase asset) |
| Called back by the asset cache when it has the asset. | |
Protected Member Functions | |
| internal | AssetsRequest (AssetsArchiver assetsArchiver, IDictionary< UUID, AssetType > uuids, IAssetService assetService, IUserAccountService userService, UUID scope, Dictionary< string, object > options, AssetsRequestCallback assetsRequestCallback) |
| internal void | Execute () |
| void | OnRequestCallbackTimeout (object source, ElapsedEventArgs args) |
| void | PreAssetRequestCallback (string fetchedAssetID, object assetType, AssetBase fetchedAsset) |
| void | PerformAssetsRequestCallback (object o) |
| Perform the callback on the original requester of the assets. | |
| AssetBase | PostProcess (AssetBase asset) |
Protected Attributes | |
| const int | TIMEOUT = 60 * 1000 |
| const int | MAX_UUID_DISPLAY_ON_TIMEOUT = 3 |
| System.Timers.Timer | m_requestCallbackTimer |
| IDictionary< UUID, AssetType > | m_uuids |
| AssetsRequestCallback | m_assetsRequestCallback |
| List< UUID > | m_foundAssetUuids = new List<UUID>() |
| List< UUID > | m_notFoundAssetUuids = new List<UUID>() |
| IAssetService | m_assetService |
| IUserAccountService | m_userAccountService |
| UUID | m_scopeID |
| AssetsArchiver | m_assetsArchiver |
| Dictionary< string, object > | m_options |
| internal OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::AssetsRequest | ( | AssetsArchiver | assetsArchiver, | |
| IDictionary< UUID, AssetType > | uuids, | |||
| IAssetService | assetService, | |||
| IUserAccountService | userService, | |||
| UUID | scope, | |||
| Dictionary< string, object > | options, | |||
| AssetsRequestCallback | assetsRequestCallback | |||
| ) | [inline, protected] |
| internal void OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::Execute | ( | ) | [inline, protected] |
| void OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::OnRequestCallbackTimeout | ( | object | source, | |
| ElapsedEventArgs | args | |||
| ) | [inline, protected] |
| void OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::PreAssetRequestCallback | ( | string | fetchedAssetID, | |
| object | assetType, | |||
| AssetBase | fetchedAsset | |||
| ) | [inline, protected] |
| void OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::AssetRequestCallback | ( | string | id, | |
| object | sender, | |||
| AssetBase | asset | |||
| ) | [inline] |
Called back by the asset cache when it has the asset.
| assetID | ||
| asset |
| void OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::PerformAssetsRequestCallback | ( | object | o | ) | [inline, protected] |
Perform the callback on the original requester of the assets.
| AssetBase OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::PostProcess | ( | AssetBase | asset | ) | [inline, protected] |
const int OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::TIMEOUT = 60 * 1000 [protected] |
Timeout threshold if we still need assets or missing asset notifications but have stopped receiving them from the asset service
const int OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::MAX_UUID_DISPLAY_ON_TIMEOUT = 3 [protected] |
If a timeout does occur, limit the amount of UUID information put to the console.
System.Timers.Timer OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::m_requestCallbackTimer [protected] |
IDictionary<UUID, AssetType> OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::m_uuids [protected] |
uuids to request
AssetsRequestCallback OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::m_assetsRequestCallback [protected] |
Callback used when all the assets requested have been received.
List<UUID> OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::m_foundAssetUuids = new List<UUID>() [protected] |
List of assets that were found. This will be passed back to the requester.
List<UUID> OpenSim::Region::CoreModules::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.
IAssetService OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::m_assetService [protected] |
Asset service used to request the assets
IUserAccountService OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::m_userAccountService [protected] |
AssetsArchiver OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::m_assetsArchiver [protected] |
Dictionary<string, object> OpenSim::Region::CoreModules::World::Archiver::AssetsRequest::m_options [protected] |
1.5.6