Package | org.vostokframework.domain.loading.loaders |
Class | public class VostokLoaderFactory |
Inheritance | VostokLoaderFactory Object |
Implements | ILoaderFactory |
Property | Defined By | ||
---|---|---|---|
fileLoadingAlgorithmFactory : IFileLoadingAlgorithmFactory [read-only] | VostokLoaderFactory |
Method | Defined By | ||
---|---|---|---|
VostokLoaderFactory(loadingSettingsFactory:ILoadingSettingsFactory)
description
| VostokLoaderFactory | ||
createComposite(identification:VostokIdentification, loaderRepository:LoaderRepository, globalLoadingSettings:GlobalLoadingSettings, priority:LoadPriority = null, localMaxConnections:int = 3):ILoader | VostokLoaderFactory | ||
createLeaf(identification:VostokIdentification, src:String, type:AssetType, settings:LoadingSettings = null):ILoader | VostokLoaderFactory | ||
setFileLoadingAlgorithmFactory(factory:IFileLoadingAlgorithmFactory):void | VostokLoaderFactory |
Method | Defined By | ||
---|---|---|---|
VostokLoaderFactory | |||
VostokLoaderFactory | |||
createPolicy(loaderRepository:LoaderRepository, globalLoadingSettings:GlobalLoadingSettings):IQueueLoadingPolicy | VostokLoaderFactory | ||
instantiateComposite(identification:VostokIdentification, state:ILoaderState, priority:LoadPriority):ILoader | VostokLoaderFactory | ||
instantiateLeaf(identification:VostokIdentification, state:ILoaderState, priority:LoadPriority):ILoader | VostokLoaderFactory | ||
parseUrl(url:String, killExternalCache:Boolean, baseURL:String):String | VostokLoaderFactory |
fileLoadingAlgorithmFactory | property |
fileLoadingAlgorithmFactory:IFileLoadingAlgorithmFactory
[read-only] public function get fileLoadingAlgorithmFactory():IFileLoadingAlgorithmFactory
VostokLoaderFactory | () | Constructor |
public function VostokLoaderFactory(loadingSettingsFactory:ILoadingSettingsFactory)
description
ParametersloadingSettingsFactory:ILoadingSettingsFactory |
createComposite | () | method |
public function createComposite(identification:VostokIdentification, loaderRepository:LoaderRepository, globalLoadingSettings:GlobalLoadingSettings, priority:LoadPriority = null, localMaxConnections:int = 3):ILoader
Parameters
identification:VostokIdentification | |
loaderRepository:LoaderRepository | |
globalLoadingSettings:GlobalLoadingSettings | |
priority:LoadPriority (default = null )
| |
localMaxConnections:int (default = 3 )
|
ILoader |
createCompositeLoaderState | () | method |
protected function createCompositeLoaderState(policy:IQueueLoadingPolicy, localMaxConnections:int):ILoaderState
Parameters
policy:IQueueLoadingPolicy | |
localMaxConnections:int |
ILoaderState |
createLeaf | () | method |
public function createLeaf(identification:VostokIdentification, src:String, type:AssetType, settings:LoadingSettings = null):ILoader
Parameters
identification:VostokIdentification | |
src:String | |
type:AssetType | |
settings:LoadingSettings (default = null )
|
ILoader |
createLeafLoaderState | () | method |
protected function createLeafLoaderState(type:AssetType, url:String, settings:LoadingSettings):ILoaderState
Parameters
type:AssetType | |
url:String | |
settings:LoadingSettings |
ILoaderState |
createPolicy | () | method |
protected function createPolicy(loaderRepository:LoaderRepository, globalLoadingSettings:GlobalLoadingSettings):IQueueLoadingPolicy
Parameters
loaderRepository:LoaderRepository | |
globalLoadingSettings:GlobalLoadingSettings |
IQueueLoadingPolicy |
instantiateComposite | () | method |
protected function instantiateComposite(identification:VostokIdentification, state:ILoaderState, priority:LoadPriority):ILoader
Parameters
identification:VostokIdentification | |
state:ILoaderState | |
priority:LoadPriority |
ILoader |
instantiateLeaf | () | method |
protected function instantiateLeaf(identification:VostokIdentification, state:ILoaderState, priority:LoadPriority):ILoader
Parameters
identification:VostokIdentification | |
state:ILoaderState | |
priority:LoadPriority |
ILoader |
parseUrl | () | method |
protected function parseUrl(url:String, killExternalCache:Boolean, baseURL:String):String
Parameters
url:String | |
killExternalCache:Boolean | |
baseURL:String |
String |
setFileLoadingAlgorithmFactory | () | method |
public function setFileLoadingAlgorithmFactory(factory:IFileLoadingAlgorithmFactory):void
Parameters
factory:IFileLoadingAlgorithmFactory |