beginning of reimplementation of the REST interface

This commit is contained in:
2014-09-09 15:46:58 +02:00
parent 5641101705
commit 59980a4b90
4 changed files with 18 additions and 189 deletions
@@ -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();
}
}