Adding new policies for stub/skeleton generation - second benchmark
[iot2.git] / localconfig / iotpolicy / WeatherPhoneGateway / weathergatewaycallback.pol
diff --git a/localconfig/iotpolicy/WeatherPhoneGateway/weathergatewaycallback.pol b/localconfig/iotpolicy/WeatherPhoneGateway/weathergatewaycallback.pol
new file mode 100644 (file)
index 0000000..b435ec8
--- /dev/null
@@ -0,0 +1,11 @@
+public interface WeatherGatewayCallback {
+
+       public void informationRetrieved(double _inchesPerWeek, int _weatherZipCode, int _daysToWaterOn, double _inchesPerMinute);
+
+       capability Callback {
+               description = "Callback method";
+               method = "informationRetrieved(double _inchesPerWeek, int _weatherZipCode, int _daysToWaterOn, double _inchesPerMinute)";
+       }
+}
+
+