Package | com.mi.rs |
Interface | public interface ICommandSequence |
Property | Defined By | ||
---|---|---|---|
service : IService [read-only]
The service that is associated with this command sequence.
|
ICommandSequence | ||
stateData : IStateData [read-only]
The IStateData associated with the callback.
|
ICommandSequence |
Method | Defined By | ||
---|---|---|---|
addCommand(cmd:ICommand, responseHandler:Function = null):void
Adds a command to the sequence of commands that needs to be
processed.
|
ICommandSequence |
service | property |
service:IService
[read-only]
The service that is associated with this command sequence.
public function get service():IService
stateData | property |
stateData:IStateData
[read-only]
The IStateData associated with the callback. All commands added using this callback will be executed in the context of the state specified by this state data instance.
public function get stateData():IStateData
addCommand | () | method |
public function addCommand(cmd:ICommand, responseHandler:Function = null):void
Adds a command to the sequence of commands that needs to be processed.
Parameters
cmd:ICommand — The command to process.
|
|
responseHandler:Function (default = null ) — The optional function that will be called
when the
command has been processed. The callback function must have the
following signature:
function responseHandler(resp:Response):void
|