Packageorg.swizframework.utils.chain
Classpublic class AsyncCommandChainStep
InheritanceAsyncCommandChainStep Inheritance CommandChainStep Inheritance BaseChainStep Inheritance Object
Implements mx.rpc.IResponder



Public Properties
 PropertyDefined By
 Inheritedchain : IChain
BaseChainStep
 InheritedisComplete : Boolean
[read-only]
BaseChainStep
Protected Properties
 PropertyDefined By
  asyncMethod : Function
AsyncCommandChainStep
  asyncMethodArgs : Array
AsyncCommandChainStep
 Inherited_chain : IChain
Backing variable for chain getter/setter.
BaseChainStep
  faultHandler : Function
AsyncCommandChainStep
 Inherited_isComplete : Boolean = false
BaseChainStep
  resultHandler : Function
AsyncCommandChainStep
  resultHandlerArgs : Array
AsyncCommandChainStep
Public Methods
 MethodDefined By
  
AsyncCommandChainStep(asyncMethod:Function, asyncMethodArgs:Array, resultHandler:Function, faultHandler:Function = null, resultHandlerArgs:Array = null)
AsyncCommandChainStep
 Inherited
complete():void
BaseChainStep
 Inherited
error():void
BaseChainStep
  
execute():void
[override]
AsyncCommandChainStep
  
fault(info:Object):void
AsyncCommandChainStep
  
result(data:Object):void
AsyncCommandChainStep
Property Detail
asyncMethodproperty
protected var asyncMethod:Function

asyncMethodArgsproperty 
protected var asyncMethodArgs:Array

faultHandlerproperty 
protected var faultHandler:Function

resultHandlerproperty 
protected var resultHandler:Function

resultHandlerArgsproperty 
protected var resultHandlerArgs:Array

Constructor Detail
AsyncCommandChainStep()Constructor
public function AsyncCommandChainStep(asyncMethod:Function, asyncMethodArgs:Array, resultHandler:Function, faultHandler:Function = null, resultHandlerArgs:Array = null)



Parameters
asyncMethod:Function
 
asyncMethodArgs:Array
 
resultHandler:Function
 
faultHandler:Function (default = null)
 
resultHandlerArgs:Array (default = null)
Method Detail
execute()method
override public function execute():void

fault()method 
public function fault(info:Object):void

Parameters

info:Object

result()method 
public function result(data:Object):void

Parameters

data:Object