mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
cleaning up tcp
This commit is contained in:
@ -1424,17 +1424,12 @@ void slsReceiverImplementation::closeFiles() {
|
||||
|
||||
int slsReceiverImplementation::restreamStop() {
|
||||
FILE_LOG(logDEBUG3) << __SHORT_AT__ << " called";
|
||||
bool ret = OK;
|
||||
for (const auto &it : dataStreamer) {
|
||||
if (it->RestreamStop() == FAIL)
|
||||
ret = FAIL;
|
||||
throw sls::RuntimeError("Could not restream stop packet");
|
||||
}
|
||||
// if fail, prints in datastreamer
|
||||
if (ret == OK) {
|
||||
FILE_LOG(logINFO) << "Restreaming Dummy Header via ZMQ successful";
|
||||
}
|
||||
|
||||
return ret;
|
||||
FILE_LOG(logINFO) << "Restreaming Dummy Header via ZMQ successful";
|
||||
return OK;
|
||||
}
|
||||
|
||||
/***callback functions***/
|
||||
|
Reference in New Issue
Block a user