Packagecom.mi.rs
Interfacepublic interface ICommand
Implementors Command

The interface specifying the data and methods of a RealityServer command.



Public Properties
 PropertyDefined By
  isCancelled : Boolean
[read-only] This property is set to true by the implementing class if the command has been cancelled, in which case it will simply be skipped by the service.
ICommand
  name : String
[read-only] The name of the RealityServer command to call.
ICommand
  params : Object
[read-only] An associative array containing the command arguments as name/value pairs.
ICommand
Property Detail
isCancelledproperty
isCancelled:Boolean  [read-only]

This property is set to true by the implementing class if the command has been cancelled, in which case it will simply be skipped by the service. Note that commands are normally processed immediately after being added by a process commands callback at which point this property does not have any effect. Most command implementations should just return false, but there are special cases, like render commands or other commands that return binary data, where this mechanism can be of use.


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