Testing callbacks for Java and C++; fixing a few bugs; more bugs to tackle: 1) Need...
[iot2.git] / config / iotpolicy / testclasspolicy.pol
index 1d9d47a5dd92f3ad5095dfa14deb7adba5234a9a..e562cfa6bebb5da25715d0fa25e4d9bcb3f17bd1 100644 (file)
@@ -32,6 +32,11 @@ public interface TestClassInterface {
        public Struct[] handleStructArray(Struct str[]);
        public List<Struct> handleStructList(List<Struct> str);
 
+       public void registerCallback(CallBackInterface _cb);
+       public void registerCallbackArray(CallBackInterface _cb[]);
+       public void registerCallbackList(List<CallBackInterface> _cb);
+       public int callBack();
+
        public int getA();
        public void setA(int _int);
        public void setB(float _float);
@@ -72,6 +77,11 @@ public interface TestClassInterface {
                method = "handleStructArray(Struct str[])";
                method = "handleStructList(List<Struct> str)";
 
+               method = "registerCallback(CallBackInterface _cb)";
+               method = "registerCallbackArray(CallBackInterface _cb[])";
+               method = "registerCallbackList(List<CallBackInterface> _cb)";
+               method = "callBack()";
+
                method = "getA()";
                method = "setA(int _int)";
                method = "setB(float _float)";