NDMonitor.StartNewServer.PressureServer¶
- class PressureServer(name_id)[source]¶
Bases:
objectDesciption of a pressure server class
Methods
Log the data to a file
This function is called in a separate thread from start() function! Waits for incoming message from client and sends back pressure string.
Main functions of server: 1.
start reading from device using driver file
Attributes
find out parameters for the given server name_id
configure initial logging
- driver¶
configure initial logging
- name_id¶
find out parameters for the given server name_id
- on_new_client(client_socket)[source]¶
This function is called in a separate thread from start() function! Waits for incoming message from client and sends back pressure string.