Packageflash.system
Classpublic final class WorkerDomain
InheritanceWorkerDomain Inheritance Object



Public Properties
 PropertyDefined By
  current : WorkerDomain
[static] [read-only]
WorkerDomain
Public Methods
 MethodDefined By
  
WorkerDomain
 Inherited
_init():*
[static]
_init
  
Create a new Worker.
WorkerDomain
  
WorkerDomain
 Inherited
AS3
 Inherited
init():*
[static]
init
 Inherited
AS3
  
listWorkers():Vector.<Worker>
WorkerDomain
 Inherited
AS3
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
 Inheritedlength : int = 1
[static]
length
Property Detail
currentproperty
current:WorkerDomain  [read-only]


Implementation
    public static function get current():WorkerDomain
Constructor Detail
WorkerDomain()Constructor
public function WorkerDomain()



Method Detail
createWorkerFromByteArray()method
public function createWorkerFromByteArray(byteArray:ByteArray):Worker

Create a new Worker. Code to be executed in the Worker is specified by the byteArray argument. The method does not start execution of the worker, rather, execution is initiated by the Worker.start() method. The worker terminates when the code exits by returning or by throwing an exception, or when it calls stop().

Parameters

byteArray:ByteArray — A ByteArray representing ABC code

Returns
Worker
createWorkerFromPrimordial()method 
public function createWorkerFromPrimordial():Worker

Returns
Worker
listWorkers()method 
public function listWorkers():Vector.<Worker>

Returns
Vector.<Worker>