X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=config%2Fiotpolicy%2Ftestclasspolicy.pol;h=e562cfa6bebb5da25715d0fa25e4d9bcb3f17bd1;hb=c57b798aa1d5fa09f97ab62940636d0aaeceb091;hp=1d9d47a5dd92f3ad5095dfa14deb7adba5234a9a;hpb=2da700a5060b2fbbe59363070515db175a5ce222;p=iot2.git diff --git a/config/iotpolicy/testclasspolicy.pol b/config/iotpolicy/testclasspolicy.pol index 1d9d47a..e562cfa 100644 --- a/config/iotpolicy/testclasspolicy.pol +++ b/config/iotpolicy/testclasspolicy.pol @@ -32,6 +32,11 @@ public interface TestClassInterface { public Struct[] handleStructArray(Struct str[]); public List handleStructList(List str); + public void registerCallback(CallBackInterface _cb); + public void registerCallbackArray(CallBackInterface _cb[]); + public void registerCallbackList(List _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 str)"; + method = "registerCallback(CallBackInterface _cb)"; + method = "registerCallbackArray(CallBackInterface _cb[])"; + method = "registerCallbackList(List _cb)"; + method = "callBack()"; + method = "getA()"; method = "setA(int _int)"; method = "setB(float _float)";