Packageorg.vostokframework.domain.loading.states.fileloader.algorithms
Classpublic class MaxAttemptsFileLoadingAlgorithm
InheritanceMaxAttemptsFileLoadingAlgorithm Inheritance FileLoadingAlgorithmBehavior Inheritance Object

description



Protected Properties
 PropertyDefined By
 Inheritederrors : IList
[read-only]
FileLoadingAlgorithmBehavior
 InheritedwrappedAlgorithm : IFileLoadingAlgorithm
[read-only]
FileLoadingAlgorithmBehavior
Public Methods
 MethodDefined By
  
MaxAttemptsFileLoadingAlgorithm(wrapAlgorithm:IFileLoadingAlgorithm, maxAttempts:int = 1)
description
MaxAttemptsFileLoadingAlgorithm
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override]
MaxAttemptsFileLoadingAlgorithm
 Inherited
addParsers(parsers:IList):void
FileLoadingAlgorithmBehavior
 Inherited
cancel():void
description
FileLoadingAlgorithmBehavior
  
dispatchEvent(event:Event):Boolean
[override]
MaxAttemptsFileLoadingAlgorithm
 Inherited
dispose():void
FileLoadingAlgorithmBehavior
  
hasEventListener(type:String):Boolean
[override]
MaxAttemptsFileLoadingAlgorithm
  
load():void
[override] description
MaxAttemptsFileLoadingAlgorithm
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[override]
MaxAttemptsFileLoadingAlgorithm
 Inherited
stop():void
description
FileLoadingAlgorithmBehavior
  
willTrigger(type:String):Boolean
[override]
MaxAttemptsFileLoadingAlgorithm
Protected Methods
 MethodDefined By
  
doDispose():void
[override]
MaxAttemptsFileLoadingAlgorithm
Constructor Detail
MaxAttemptsFileLoadingAlgorithm()Constructor
public function MaxAttemptsFileLoadingAlgorithm(wrapAlgorithm:IFileLoadingAlgorithm, maxAttempts:int = 1)

description

Parameters
wrapAlgorithm:IFileLoadingAlgorithm
 
maxAttempts:int (default = 1)
Method Detail
addEventListener()method
override public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)

dispatchEvent()method 
override public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
doDispose()method 
override protected function doDispose():void

hasEventListener()method 
override public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
load()method 
override public function load():void

description

removeEventListener()method 
override public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
override public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean