A container component that assembles and manages one IoT device.
The state of a IoT device and its plugins is managed transactionally using a 2PC (Two-Phase Commit) protocol.
Properties:
{interval: number}
where:
interval
: time in msec between invocations of the main loop, i.e.,__iot_loop__
.
See external:caf_components/gen_transactional for details.
- Source:
Extends
Members
__ca_isIoTMain__ :boolean
- Source:
Run-time type information.
Type:
- boolean
Methods
__ca_getAppName__() → {string}
- Source:
Returns this application name, e.g., root-helloworld
Returns:
A name for this app.
- Type
- string
__ca_getName__() → {string}
- Source:
Returns the CA name, e.g., foo-device1
.
Returns:
The CA name.
- Type
- string