riaps.run.peripheral module
Peripheral class - encapsulates a device, used in an app actor Created on Jan 6, 2017
@author: riaps
- class riaps.run.peripheral.Peripheral(parentActor, iTypeDef, iName, iTypeName, iArgs)[source]
Bases:
objectPeripheral class to encapsulate access to a device component Note: implements a public interface compatible with a part
- class State(value)[source]
Bases:
EnumAn enumeration.
- Active = 3
- Checkpointing = 4
- Destroyed = 7
- Inactive = 5
- Initial = 1
- Passive = 6
- Ready = 2
- Starting = 0
- handlePortUpdate(_portName, _host, _port)[source]
Handle an update message coming from the devm service
- property mods