Package com.mi.rs
Interface public interface ICommand
Implementors Command

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



Public Properties
  Property Defined 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
isCancelled property
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
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