Package com.mi.rs
Class public class Command
Inheritance Command Inheritance Object
Implements ICommand
Subclasses RenderCommand

A generic implementation of the ICommand interface.



Public Properties
  Property Defined By
    isCancelled : Boolean
[read-only] Always false.
Command
    name : String
[read-only] The name of the RealityServer command to call.
Command
    params : Object
[read-only] An associative array containing the command arguments as name/value pairs.
Command
Public Methods
  Method Defined By
   
Command(name:String, params:Object)
Constructs a command with the given name and parameters.
Command
   
toString():String
Returns a string for debugging purposes.
Command
Property Detail
isCancelled property
isCancelled:Boolean  [read-only]

Always false.


Implementation
    public function get isCancelled():Boolean
name property  
name:String  [read-only]

The name of the RealityServer command to call.


Implementation
    public function get name():String
params property  
params:Object  [read-only]

An associative array containing the command arguments as name/value pairs.


Implementation
    public function get params():Object
Constructor Detail
Command () Constructor
public function Command(name:String, params:Object)

Constructs a command with the given name and parameters.

Parameters
name:String — The name of the command.
 
params:Object — An associative array of command parameters.
Method Detail
toString () method
public function toString():String

Returns a string for debugging purposes.

Returns
String