new Command(json)
Create a Command (this class can be used to make different process communicate together)
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
json | object | json object to configure the command Properties
|
- Source
- To Do
- this class should be removed and be replace by a tag typedef describing this data structure
Members
data :object|null
Data of the command
Type:
- object |
null
- Source
type :string
Type of the command
Type:
- string
- Source
Methods
getData() → {object|null}
- Source
Returns:
Data of the command
- Type:
- object |
null
getType() → {string}
- Source
Returns:
Type of the command
- Type:
- string
toJSON() → {object}
- Source
Returns:
- export to json object command
- Type:
- object