Packagecom.mi.rs
Classpublic class Command
InheritanceCommand Inheritance Object
Implements ICommand
Subclasses GenericRenderCommand, RenderCommand

A generic implementation of the ICommand interface.



Public Properties
 PropertyDefined 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
 MethodDefined 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
isCancelledproperty
isCancelled:Boolean  [read-only]

Always false.


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

The name of the RealityServer command to call.


Implementation
    public function get name():String
paramsproperty 
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