Packageorg.vostokframework.domain.loading.states.fileloader.algorithms
Classpublic class FileLoadingAlgorithmBehavior
InheritanceFileLoadingAlgorithmBehavior Inheritance Object
Implements IFileLoadingAlgorithm
Subclasses DelayableFileLoadingAlgorithm, LatencyTimeoutFileLoadingAlgorithm, MaxAttemptsFileLoadingAlgorithm

description



Protected Properties
 PropertyDefined By
  errors : IList
[read-only]
FileLoadingAlgorithmBehavior
  wrappedAlgorithm : IFileLoadingAlgorithm
[read-only]
FileLoadingAlgorithmBehavior
Public Methods
 MethodDefined By
  
description
FileLoadingAlgorithmBehavior
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
FileLoadingAlgorithmBehavior
  
addParsers(parsers:IList):void
FileLoadingAlgorithmBehavior
  
cancel():void
description
FileLoadingAlgorithmBehavior
  
dispatchEvent(event:Event):Boolean
FileLoadingAlgorithmBehavior
  
dispose():void
FileLoadingAlgorithmBehavior
  
hasEventListener(type:String):Boolean
FileLoadingAlgorithmBehavior
  
load():void
description
FileLoadingAlgorithmBehavior
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
FileLoadingAlgorithmBehavior
  
stop():void
description
FileLoadingAlgorithmBehavior
  
willTrigger(type:String):Boolean
FileLoadingAlgorithmBehavior
Protected Methods
 MethodDefined By
  
doDispose():void
FileLoadingAlgorithmBehavior
Property Detail
errorsproperty
errors:IList  [read-only]


Implementation
    protected function get errors():IList
wrappedAlgorithmproperty 
wrappedAlgorithm:IFileLoadingAlgorithm  [read-only]


Implementation
    protected function get wrappedAlgorithm():IFileLoadingAlgorithm
Constructor Detail
FileLoadingAlgorithmBehavior()Constructor
public function FileLoadingAlgorithmBehavior(wrapAlgorithm:IFileLoadingAlgorithm)

description

Parameters
wrapAlgorithm:IFileLoadingAlgorithm
Method Detail
addEventListener()method
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)

addParsers()method 
public function addParsers(parsers:IList):void

Parameters

parsers:IList

cancel()method 
public function cancel():void

description

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

Parameters

event:Event

Returns
Boolean
dispose()method 
public function dispose():void

doDispose()method 
protected function doDispose():void

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

Parameters

type:String

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

description

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

Parameters

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

stop()method 
public function stop():void

description

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

Parameters

type:String

Returns
Boolean