mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
28 lines
522 B
C++
28 lines
522 B
C++
#pragma once
|
|
|
|
#include "DataSocket.h"
|
|
namespace sls {
|
|
class ServerInterface2;
|
|
}
|
|
|
|
#include "ServerSocket.h"
|
|
#include "sls_detector_defs.h"
|
|
namespace sls {
|
|
|
|
class ServerInterface2 : public DataSocket {
|
|
using defs = slsDetectorDefs;
|
|
|
|
public:
|
|
ServerInterface2(int socketId) : DataSocket(socketId){}
|
|
|
|
int sendResult(bool update, int ret, void *retval, int retvalSize,
|
|
char *mess = nullptr);
|
|
int receiveArg(int &ret, char *mess, void *arg, int sizeofArg);
|
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
} // namespace sls
|