This commit is contained in:
2019-08-08 16:39:25 +02:00
parent dddd8eb849
commit eaf0d8668b
7 changed files with 3 additions and 100 deletions

View File

@@ -716,17 +716,6 @@ void slsDetector::updateMultiSize(int detx, int dety) {
shm()->multiSize[1] = dety;
}
std::string slsDetector::checkOnline() {
std::string retval;
try {
// Need both control and stop socket to work!
auto client = DetectorSocket(shm()->hostname, shm()->controlPort);
auto stop = DetectorSocket(shm()->hostname, shm()->stopPort);
} catch (...) {
retval = shm()->hostname;
}
return retval;
}
int slsDetector::setControlPort(int port_number) {
int retval = -1;
@@ -2970,15 +2959,6 @@ void slsDetector::printReceiverConfiguration(TLogLevel level) {
bool slsDetector::getUseReceiverFlag() const { return shm()->useReceiverFlag; }
std::string slsDetector::checkReceiverOnline() {
try {
getReceiverSoftwareVersion();
} catch (...) {
return shm()->rxHostname;
}
return std::string();
}
int slsDetector::lockReceiver(int lock) {
FILE_LOG(logDEBUG1) << "Setting receiver server lock to " << lock;
int retval = -1;