Package | stimulsoft.base.api |
Class | public class StiApiProviderFlex |
Inheritance | StiApiProviderFlex ![]() ![]() |
Method | Defined By | ||
---|---|---|---|
StiApiProviderFlex(application:String) | StiApiProviderFlex | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void [override] Redefining event handler of task start | StiApiProvider |
Method | Defined By | ||
---|---|---|---|
![]() | addTask(type:String, data:* = null, progress:Object = null, fileName:String = null, tag:String = null, targetWindow:String = _self):int Add a task in a queue | StiApiProvider | |
![]() | deleteTask():int Delete a task from the queue | StiApiProvider | |
![]() | dispatchErrorFunction(message:String, data:* = null):void Function of error processing | StiApiProvider | |
![]() | dispatchResultFunction(data:*):void Successfull finishing operation function | StiApiProvider | |
getTaskService(type:String):* [override] Returns a service used for working with the server of the specified task type | StiApiProviderFlex | ||
initEventListeners():void [override] Intialization of a provider | StiApiProviderFlex | ||
![]() | prepareData(data:*):ByteArray Prepare data | StiApiProvider | |
![]() | restartTask():void Run the current task once again for exacution | StiApiProvider | |
![]() | startNextTask():void Run the first task in a queue (if exists) | StiApiProvider | |
![]() | startTask(task:Object, restart:Boolean = false):void Run the task for execution | StiApiProvider |
StiApiProviderFlex | () | Constructor |
public function StiApiProviderFlex(application:String)
application:String |
getTaskService | () | method |
override protected function getTaskService(type:String):*
Returns a service used for working with the server of the specified task type
Parameters
type:String |
* |
initEventListeners | () | method |
override protected function initEventListeners():void
Intialization of a provider