Adjustments in stubs and skeletons for callback in callback; using different ports...
[iot2.git] / localconfig / iotpolicy / development / testclasspolicy_callbacks.pol
1 public interface TestClassInterface {
2
3         public short getShort(short in);
4         public void registerCallback(CallBackInterface _cb);
5         public int callBack();
6
7         capability Callbacks {
8                 description = "All the set-and-get methods";
9                 method = "getShort(short in)";
10                 method = "registerCallback(CallBackInterface _cb)";
11                 method = "callBack()";
12         }
13         
14         enum Enum {
15
16                 APPLE,
17                 ORANGE,
18                 GRAPE
19         }
20
21         struct Struct {
22
23                 string  name;
24                 float   value;
25                 int     year;
26         }
27 }
28
29