Extending parser for struct/enum (policy) definition files; Removing parser support...
[iot2.git] / config / iotpolicy / lightbulbpolicy.pol
1 public interface LightBulb {
2
3     public void MethodA(int A, float B);
4     public void MethodA(int A, float B, int AB);
5     public int MethodB(String C, String D);
6     public byte MethodC(String E, List<Integer> F);
7
8         capability Flicker {
9                 description = "The quick brown fox jumps over the smart dog";
10                 description = "Another description";
11                 method = "MethodA(int A, float B)";
12                 method = "MethodB(String C, String D)";
13                 method = "MethodC(String E, List<Integer> F)";
14         }
15
16         capability AutoOnOff {
17                 description = "The quick brown fox jumps over the cool dog";
18                 method = "MethodA(int A, float B)";
19                 method = "MethodA(int A, float B, int AB)";
20                 method = "MethodC(String E, List<Integer> F)";
21         }
22 }
23
24