C# Class WhiteCore.Modules.Archivers.AssetsRequest

Encapsulate the asynchronous requests for the assets required for an archive operation
Afficher le fichier Open project: WhiteCoreSim/WhiteCore-Dev

Protected Properties

Свойство Type Description
m_assetService IAssetService
m_assetsArchiver WhiteCore.Modules.Archivers.AssetsArchiver
m_assetsRequestCallback AssetsRequestCallback
m_foundAssetUuids List
m_notFoundAssetUuids List
m_requestCallbackTimer System.Timers.Timer
m_uuids AssetType>.IDictionary

Méthodes publiques

Méthode Description
AssetRequestCallback ( string assetID, object sender, WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase asset ) : void

Called back by the asset cache when it has the asset

Méthodes protégées

Méthode Description
AssetsRequest ( WhiteCore.Modules.Archivers.AssetsArchiver assetsArchiver, AssetType>.IDictionary uuids, IAssetService assetService, AssetsRequestCallback assetsRequestCallback ) : System
Execute ( ) : void
OnRequestCallbackTimeout ( object source, System.Timers.ElapsedEventArgs args ) : void
PerformAssetsRequestCallback ( object o ) : void

Perform the callback on the original requester of the assets

PreAssetRequestCallback ( string fetchedAssetID, object assetType, WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase fetchedAsset ) : void

Method Details

AssetRequestCallback() public méthode

Called back by the asset cache when it has the asset
public AssetRequestCallback ( string assetID, object sender, WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase asset ) : void
assetID string
sender object
asset WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
Résultat void

AssetsRequest() protected méthode

protected AssetsRequest ( WhiteCore.Modules.Archivers.AssetsArchiver assetsArchiver, AssetType>.IDictionary uuids, IAssetService assetService, AssetsRequestCallback assetsRequestCallback ) : System
assetsArchiver WhiteCore.Modules.Archivers.AssetsArchiver
uuids AssetType>.IDictionary
assetService IAssetService
assetsRequestCallback AssetsRequestCallback
Résultat System

Execute() protected méthode

protected Execute ( ) : void
Résultat void

OnRequestCallbackTimeout() protected méthode

protected OnRequestCallbackTimeout ( object source, System.Timers.ElapsedEventArgs args ) : void
source object
args System.Timers.ElapsedEventArgs
Résultat void

PerformAssetsRequestCallback() protected méthode

Perform the callback on the original requester of the assets
protected PerformAssetsRequestCallback ( object o ) : void
o object
Résultat void

PreAssetRequestCallback() protected méthode

protected PreAssetRequestCallback ( string fetchedAssetID, object assetType, WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase fetchedAsset ) : void
fetchedAssetID string
assetType object
fetchedAsset WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
Résultat void

Property Details

m_assetService protected_oe property

protected IAssetService m_assetService
Résultat IAssetService

m_assetsArchiver protected_oe property

protected AssetsArchiver,WhiteCore.Modules.Archivers m_assetsArchiver
Résultat WhiteCore.Modules.Archivers.AssetsArchiver

m_assetsRequestCallback protected_oe property

protected AssetsRequestCallback m_assetsRequestCallback
Résultat AssetsRequestCallback

m_foundAssetUuids protected_oe property

protected List m_foundAssetUuids
Résultat List

m_notFoundAssetUuids protected_oe property

protected List m_notFoundAssetUuids
Résultat List

m_requestCallbackTimer protected_oe property

protected Timer,System.Timers m_requestCallbackTimer
Résultat System.Timers.Timer

m_uuids protected_oe property

protected IDictionary m_uuids
Résultat AssetType>.IDictionary