mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-07-13 12:03:00 +02:00
added logger
This commit is contained in:
@@ -22,6 +22,7 @@ using namespace std;
|
||||
|
||||
#include "UDPInterface.h"
|
||||
#include "UDPBaseImplementation.h"
|
||||
#include "UDPStandardImplementation.h"
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +31,9 @@ using namespace std;
|
||||
UDPInterface * UDPInterface::create(string receiver_type){
|
||||
|
||||
if (receiver_type == "standard")
|
||||
return new UDPBaseImplementation();
|
||||
return new UDPStandardImplementation();
|
||||
//else if (receiver_type == "REST")
|
||||
// return new UDPRESTImplementation();
|
||||
else{
|
||||
cout << "[ERROR] UDP interface not supported, using standard implementation" << endl;
|
||||
return new UDPBaseImplementation();
|
||||
|
||||
Reference in New Issue
Block a user