added logger

This commit is contained in:
2014-09-08 16:01:18 +02:00
parent 87efbf764e
commit 5641101705
9 changed files with 76 additions and 138 deletions
@@ -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();