mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-08-12 07:00:31 +02:00
24 lines
605 B
C++
24 lines
605 B
C++
|
|
#include "BaseMatterhornServer.h"
|
|
|
|
namespace sls {
|
|
|
|
class VirtualMatterhornServer
|
|
: public BaseMatterhornServer<VirtualMatterhornServer> {
|
|
|
|
public:
|
|
/**
|
|
* Constructor
|
|
* Starts up a virtual Matterhorn server.
|
|
* Assembles a virtual Matterhorn server using TCP and UDP detector
|
|
* interfaces throws an exception in case of failure
|
|
* @param port TCP/IP port number
|
|
*/
|
|
explicit VirtualMatterhornServer(uint16_t port = DEFAULT_TCP_CNTRL_PORTNO);
|
|
|
|
~VirtualMatterhornServer() = default;
|
|
|
|
ReturnCode initial_checks(ServerInterface &socket);
|
|
};
|
|
|
|
} // namespace sls
|