attpcdaq.daq.models.DataRouter

class attpcdaq.daq.models.DataRouter(*args, **kwargs)[source]

Represents the data router associated with one data source.

Each source of data (a CoBo or a MuTAnT) must be associated with a data router. The data router receives the data stream from the source and records it. This model stores information like the IP address, port, and type of the data router.

Fields

name A unique name for the data router
ip_address The IP address of the data router
port The TCP port where the data router is listening.
connection_type The protocol of the data router.
is_online Whether the data router is online and available
log_path The path to the log file on the computer where the data router is running.
staging_directory_is_clean Whether the directory where the data router is running contains any GRAW files.

Data router type constants

FDT A constant for the “FDT” protocol.
ICE A constant for the “ICE” protocol
TCP A constant for the “TCP” protocol.
ZBUF A constant for the “ZBUF” protocol