Preparing files, stubs, and skeletons for 2nd benchmark
[iot2.git] / localconfig / iotpolicy / WeatherPhoneGateway / weatherphonegateway.pol
1 public interface WeatherGateway {
2
3         public void init();
4         public void start();
5         public void stop();
6         public double getInchesPerWeek();
7         public int getWeatherZipCode();
8         public int getDaysToWaterOn();
9         public double getInchesPerMinute();
10         public void registerCallback(WeatherGatewayCallback _callbackTo);
11
12         capability Initialize {
13                 description = "Initialize object";
14                 method = "init()";
15                 method = "start()";
16                 method = "stop()";
17                 method = "registerCallback(WeatherGatewayCallback _callbackTo)";
18         }
19
20         capability WeatherUpdate {
21                 description = "Manage weather data update";
22                 method = "getInchesPerWeek()";
23                 method = "getWeatherZipCode()";
24                 method = "getDaysToWaterOn()";
25                 method = "getInchesPerMinute()";
26         }
27 }
28
29