Minor fixes in LifxLightBulb driver (not fully tested yet)
[iot2.git] / benchmarks / IrrigationController / LawnSmart_Stub.java
1 package IrrigationController;
2
3 import java.io.IOException;
4 import java.util.List;
5 import java.util.ArrayList;
6 import java.util.Arrays;
7 import iotrmi.Java.IoTRMICall;
8 import iotrmi.Java.IoTRMIObject;
9
10 import iotcode.interfaces.*;
11
12 public class LawnSmart_Stub implements LawnSmart {
13
14         private IoTRMICall rmiCall;
15         private String callbackAddress;
16         private int[] ports;
17
18         private final static int objectId = 0;
19         
20
21         public LawnSmart_Stub(int _port, String _skeletonAddress, String _callbackAddress, int _rev, int[] _ports) throws Exception {
22                 callbackAddress = _callbackAddress;
23                 ports = _ports;
24                 rmiCall = new IoTRMICall(_port, _skeletonAddress, _rev);
25         }
26
27 }