1 public interface TestClassInterface {
3 public short getShort(short in);
4 public void registerCallback(CallBackInterface _cb);
6 public List<Enum> handleEnumList(List<Enum> en);
7 public Struct[] handleStructArray(Struct str[]);
8 public void registerCallbackArray(CallBackInterface _cb[]);
9 public void registerCallbackList(List<CallBackInterface> _cb);
11 capability Callbacks {
12 description = "All the set-and-get methods";
13 method = "getShort(short in)";
14 method = "registerCallback(CallBackInterface _cb)";
15 method = "callBack()";
16 method = "handleEnumList(List<Enum> en)";
17 method = "handleStructArray(Struct str[])";
18 method = "registerCallbackArray(CallBackInterface _cb[])";
19 method = "registerCallbackList(List<CallBackInterface> _cb)";