Packageorg.vostokframework.domain.loading.loaders
Classpublic class VostokLoaderFactory
InheritanceVostokLoaderFactory Inheritance Object
Implements ILoaderFactory

description



Public Properties
 PropertyDefined By
  fileLoadingAlgorithmFactory : IFileLoadingAlgorithmFactory
[read-only]
VostokLoaderFactory
Public Methods
 MethodDefined By
  
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
  
VostokLoaderFactory
Protected Methods
 MethodDefined By
  
VostokLoaderFactory
  
VostokLoaderFactory
  
VostokLoaderFactory
  
VostokLoaderFactory
  
VostokLoaderFactory
  
parseUrl(url:String, killExternalCache:Boolean, baseURL:String):String
VostokLoaderFactory
Property Detail
fileLoadingAlgorithmFactoryproperty
fileLoadingAlgorithmFactory:IFileLoadingAlgorithmFactory  [read-only]


Implementation
    public function get fileLoadingAlgorithmFactory():IFileLoadingAlgorithmFactory
Constructor Detail
VostokLoaderFactory()Constructor
public function VostokLoaderFactory(loadingSettingsFactory:ILoadingSettingsFactory)

description

Parameters
loadingSettingsFactory:ILoadingSettingsFactory
Method Detail
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)

Returns
ILoader
createCompositeLoaderState()method 
protected function createCompositeLoaderState(policy:IQueueLoadingPolicy, localMaxConnections:int):ILoaderState

Parameters

policy:IQueueLoadingPolicy
 
localMaxConnections:int

Returns
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)

Returns
ILoader
createLeafLoaderState()method 
protected function createLeafLoaderState(type:AssetType, url:String, settings:LoadingSettings):ILoaderState

Parameters

type:AssetType
 
url:String
 
settings:LoadingSettings

Returns
ILoaderState
createPolicy()method 
protected function createPolicy(loaderRepository:LoaderRepository, globalLoadingSettings:GlobalLoadingSettings):IQueueLoadingPolicy

Parameters

loaderRepository:LoaderRepository
 
globalLoadingSettings:GlobalLoadingSettings

Returns
IQueueLoadingPolicy
instantiateComposite()method 
protected function instantiateComposite(identification:VostokIdentification, state:ILoaderState, priority:LoadPriority):ILoader

Parameters

identification:VostokIdentification
 
state:ILoaderState
 
priority:LoadPriority

Returns
ILoader
instantiateLeaf()method 
protected function instantiateLeaf(identification:VostokIdentification, state:ILoaderState, priority:LoadPriority):ILoader

Parameters

identification:VostokIdentification
 
state:ILoaderState
 
priority:LoadPriority

Returns
ILoader
parseUrl()method 
protected function parseUrl(url:String, killExternalCache:Boolean, baseURL:String):String

Parameters

url:String
 
killExternalCache:Boolean
 
baseURL:String

Returns
String
setFileLoadingAlgorithmFactory()method 
public function setFileLoadingAlgorithmFactory(factory:IFileLoadingAlgorithmFactory):void

Parameters

factory:IFileLoadingAlgorithmFactory