Package | org.vostokframework.application.services |
Class | public class LoadingService |
Inheritance | LoadingService Object |
Method | Defined By | ||
---|---|---|---|
description
| LoadingService | ||
cancel(loaderId:String, locale:String = null):void
description
| LoadingService | ||
changePriority(loaderId:String, priority:LoadPriority, locale:String = null):void
description
| LoadingService | ||
containsAssetData(assetId:String, locale:String = null):Boolean
description
| LoadingService | ||
exists(loaderId:String, locale:String = null):Boolean
description
| LoadingService | ||
getAssetData(assetId:String, locale:String = null):*
description
| LoadingService | ||
getMonitor(loaderId:String, locale:String = null):ILoadingMonitor
description
| LoadingService | ||
isLoading(loaderId:String, locale:String = null):Boolean
description
| LoadingService | ||
isQueued(loaderId:String, locale:String = null):Boolean
description
| LoadingService | ||
isStopped(loaderId:String, locale:String = null):Boolean
description
| LoadingService | ||
load(loaderId:String, assets:IList, priority:LoadPriority = null, concurrentConnections:int = 1):ILoadingMonitor
description
| LoadingService | ||
loadSingle(loaderId:String, asset:Asset, priority:LoadPriority = null, concurrentConnections:int = 1):ILoadingMonitor
description
| LoadingService | ||
mergeAssets(loaderId:String, assets:IList, locale:String = null):ILoadingMonitor
description
| LoadingService | ||
removeAssetData(assetId:String, locale:String = null):void
description
| LoadingService | ||
resume(loaderId:String, locale:String = null):void
description
| LoadingService | ||
stop(loaderId:String, locale:String = null):void
description
| LoadingService |
LoadingService | () | Constructor |
public function LoadingService()
description
cancel | () | method |
public function cancel(loaderId:String, locale:String = null):void
description
Parameters
loaderId:String | |
locale:String (default = null )
|
changePriority | () | method |
public function changePriority(loaderId:String, priority:LoadPriority, locale:String = null):void
description
Parameters
loaderId:String | |
priority:LoadPriority | |
locale:String (default = null )
|
ArgumentError — if the <codeph>assetId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
| |
ArgumentError — if the <codeph>priority</codeph> argument is <codeph>null</codeph>.
| |
org.vostokframework.assetmanagement.errors:AssetNotFoundError — if do not exist an <codeph>Asset</codeph> object stored with the provided <codeph>assetId</codeph> and <codeph>locale</codeph>.
|
containsAssetData | () | method |
public function containsAssetData(assetId:String, locale:String = null):Boolean
description
Parameters
assetId:String | |
locale:String (default = null )
|
Boolean —
|
exists | () | method |
public function exists(loaderId:String, locale:String = null):Boolean
description
Parameters
loaderId:String | |
locale:String (default = null )
|
Boolean —
|
getAssetData | () | method |
public function getAssetData(assetId:String, locale:String = null):*
description
Parameters
assetId:String | |
locale:String (default = null )
|
* |
getMonitor | () | method |
public function getMonitor(loaderId:String, locale:String = null):ILoadingMonitor
description
Parameters
loaderId:String | |
locale:String (default = null )
|
ILoadingMonitor —
|
isLoading | () | method |
public function isLoading(loaderId:String, locale:String = null):Boolean
description
Parameters
loaderId:String | |
locale:String (default = null )
|
Boolean —
|
isQueued | () | method |
public function isQueued(loaderId:String, locale:String = null):Boolean
description
Parameters
loaderId:String | |
locale:String (default = null )
|
Boolean —
|
isStopped | () | method |
public function isStopped(loaderId:String, locale:String = null):Boolean
description
Parameters
loaderId:String | |
locale:String (default = null )
|
Boolean —
|
load | () | method |
public function load(loaderId:String, assets:IList, priority:LoadPriority = null, concurrentConnections:int = 1):ILoadingMonitor
description
Parameters
loaderId:String | |
assets:IList | |
priority:LoadPriority (default = null )
| |
concurrentConnections:int (default = 1 )
|
ILoadingMonitor —
|
loadSingle | () | method |
public function loadSingle(loaderId:String, asset:Asset, priority:LoadPriority = null, concurrentConnections:int = 1):ILoadingMonitor
description
Parameters
loaderId:String | |
asset:Asset | |
priority:LoadPriority (default = null )
| |
concurrentConnections:int (default = 1 )
|
ILoadingMonitor —
|
mergeAssets | () | method |
public function mergeAssets(loaderId:String, assets:IList, locale:String = null):ILoadingMonitor
description
Parameters
loaderId:String | |
assets:IList | |
locale:String (default = null )
|
ILoadingMonitor —
|
removeAssetData | () | method |
public function removeAssetData(assetId:String, locale:String = null):void
description
Parameters
assetId:String | |
locale:String (default = null )
|
resume | () | method |
public function resume(loaderId:String, locale:String = null):void
description
Parameters
loaderId:String | |
locale:String (default = null )
|
stop | () | method |
public function stop(loaderId:String, locale:String = null):void
description
Parameters
loaderId:String | |
locale:String (default = null )
|