private LightBulb mainObj;
private IoTRMIObject rmiObj;
- private final static int object0Id = 0; //LightBulbTest
- private static Integer[] object0Permission = { 2, 1, 3, 4, 0, 5 };
+ private String callbackAddress;
+ private final static int object0Id = 0; //LightBulbSmart
+ private static Integer[] object0Permission = { 2, 10, 1, 3, 11, 8, 12, 7, 13, 9, 6, 16, 17, 4, 0, 14, 15, 5 };
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();