attpcdaq.daq.models.ECCServer.get_data_link_xml_from_clients¶
-
ECCServer.get_data_link_xml_from_clients()[source]¶ Get an XML representation of the data link for this source.
This is used by the ECC server to establish a connection between the CoBo and the data router. The format is as follows:
<DataLinkSet> <DataLink> <DataSender id="[DataSource.name]"> <DataRouter name="[DataSource.data_router_name]" ipAddress="[DataSource.data_router_ip_address]" port="[DataSource.data_router_port]" type="[DataSource.data_router_type]"> </DataLink> </DataLinkSet>
Returns: The XML data. Return type: str