Adjusting Object IDs to the Java side.
authorrtrimana <rtrimana@uci.edu>
Mon, 19 Mar 2018 16:12:59 +0000 (09:12 -0700)
committerrtrimana <rtrimana@uci.edu>
Mon, 19 Mar 2018 16:12:59 +0000 (09:12 -0700)
benchmarks/drivers/Cpp/LabRoom/Room_Skeleton.hpp
benchmarks/drivers/Cpp/LifxLightBulb/LightBulb_Skeleton.hpp

index 715450c0fde56ab30cc6aef1e66a337bb2499c67..557077844066d2c4363af6095917e7c36b983e9b 100644 (file)
@@ -21,7 +21,7 @@ class Room_Skeleton : public Room
        IoTRMIComm *rmiComm;
        char* methodBytes;
        int methodLen;
        IoTRMIComm *rmiComm;
        char* methodBytes;
        int methodLen;
-       int objectId = 0;
+       int objectId = 4;
        static set<int> set0Allowed;
        // Synchronization variables
        bool methodReceived = false;
        static set<int> set0Allowed;
        // Synchronization variables
        bool methodReceived = false;
index 2a06e737b8d52709e680fbab4215c1ad2a20ad03..ab5f9815c11c4c83446cad79ee5977110eaaa5ec 100644 (file)
@@ -19,7 +19,7 @@ class LightBulb_Skeleton : public LightBulb
        IoTRMIComm *rmiComm;
        char* methodBytes;
        int methodLen;
        IoTRMIComm *rmiComm;
        char* methodBytes;
        int methodLen;
-       int objectId = 0;
+       int objectId = 1;
        static set<int> set0Allowed;
        // Synchronization variables
        bool methodReceived = false;
        static set<int> set0Allowed;
        // Synchronization variables
        bool methodReceived = false;