X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=version2%2Fsrc%2FC%2FLocalComm.cc;fp=version2%2Fsrc%2FC%2FLocalComm.cc;h=0000000000000000000000000000000000000000;hb=786e40250f31eff04eec25bbcaae3cd916fedb14;hp=ac4c3439d94f8600e4fccdce942dfd755ce5254d;hpb=3f24bffc82ebfe2730308b63100af08645316577;p=iotcloud.git diff --git a/version2/src/C/LocalComm.cc b/version2/src/C/LocalComm.cc deleted file mode 100644 index ac4c343..0000000 --- a/version2/src/C/LocalComm.cc +++ /dev/null @@ -1,17 +0,0 @@ -#include "LocalComm.h" -#include "Error.h" -#include "Table.h" - -Array *LocalComm::sendDataToLocalDevice(int64_t deviceId, Array *data) { - printf("Passing Locally\n"); - - if (deviceId == t1->getMachineId()) { - // return t1.localCommInput(data); - } else if (deviceId == t2->getMachineId()) { - // return t2.localCommInput(data); - } else { - throw new Error("Cannot send to deviceId using this local comm"); - } - - return new Array((uint32_t)0); -}