mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-07-21 05:32:52 +02:00
beginning of reimplementation of the REST interface
This commit is contained in:
@@ -30,12 +30,14 @@ using namespace std;
|
||||
|
||||
UDPInterface * UDPInterface::create(string receiver_type){
|
||||
|
||||
if (receiver_type == "standard")
|
||||
if (receiver_type == "standard"){
|
||||
cout << "Starting " << receiver_type << endl;
|
||||
return new UDPStandardImplementation();
|
||||
}
|
||||
//else if (receiver_type == "REST")
|
||||
// return new UDPRESTImplementation();
|
||||
else{
|
||||
cout << "[ERROR] UDP interface not supported, using standard implementation" << endl;
|
||||
FILE_LOG(logWARNING) << "[ERROR] UDP interface not supported, using standard implementation";
|
||||
return new UDPBaseImplementation();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user