Adjustments in stubs and skeletons for callback in callback; using different ports...
[iot2.git] / benchmarks / drivers / LifxLightBulb / LightBulb_Skeleton.java
index 6580d8d4c0a55e98a014be35827294576376da7e..bca38631ba1adf5b35c35522be9db9e855968263 100644 (file)
@@ -14,13 +14,15 @@ public class LightBulb_Skeleton implements LightBulb {
        private LightBulb mainObj;
        private IoTRMIObject rmiObj;
 
+       private String callbackAddress;
        private final static int object0Id = 0; //LightBulbTest
        private static Integer[] object0Permission = { 2, 6, 1, 3, 4, 8, 0, 5, 7, 9 };
        private static List<Integer> set0Allowed;
        
 
-       public LightBulb_Skeleton(LightBulb _mainObj, int _port) throws Exception {
+       public LightBulb_Skeleton(LightBulb _mainObj, String _callbackAddress, int _port) throws Exception {
                mainObj = _mainObj;
+               callbackAddress = _callbackAddress;
                rmiObj = new IoTRMIObject(_port);
                set0Allowed = new ArrayList<Integer>(Arrays.asList(object0Permission));
                ___waitRequestInvokeMethod();