Daemon¶
Description
-
class
tpg_256a_pressure_monitor.Daemon.Daemon(config_file: str = None, pid_file_name: str = None, host: str = None, port: int = None, device_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.Manages the
logging thread.Stops the daemon, called with message ‘quit’.
TODO
Modifies or checks the status of the TPG 256A
device.Sets up the message
parser.