Daemon¶
Description
-
class
arduino_temperature_sensors.Daemon.Daemon(config_file: str = None, pid_file_name: str = None, host: str = None, port: int = None, autostart: bool = False, device_config_file: str = None, database_config_file: str = None)[source]¶ Base class of the daemon, derived from
Server. The daemon holds pointers to thedevicedriver and themonitorthread, and communicates with them upon message reception.Attributes
Device handler.
Monitor thread.
Methods
Initializes the
Daemonobject.Modifies or checks the status of the Arduino Temperature Sensors
device.Manages the
logging thread.Stops the daemon, called with message ‘quit’.
TODO
Sets up the message
parser.