mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-07-04 10:46:09 +02:00
18 lines
425 B
C++
18 lines
425 B
C++
|
|
#include "StopServer.h"
|
|
#include "sls/network_utils.h"
|
|
#include "sls/sls_detector_defs.h"
|
|
|
|
namespace sls {
|
|
StopServer::StopServer(uint16_t port) : MatterhornServer(port) {
|
|
|
|
/*
|
|
// open shared memory segment of control server map to virtual memory space
|
|
if (sharedMemory_open(port - 1) == slsDetectorDefs::FAIL) {
|
|
throw sls::RuntimeError("Failed to open shared memory");
|
|
}
|
|
*/
|
|
}
|
|
|
|
} // namespace sls
|