Fixing a bug in C++ socket server-client: message length was represented just in...
[iot2.git] / config / iotpolicy / testclasspolicy_advanced.pol
index 9867b232fd0e7bfc3dabee6415e100238bc2c869..b7899df0206932481b3d8180e5dafdfdac4992cd 100644 (file)
@@ -5,11 +5,14 @@ public interface TestClassInterface {
        public List<Enum> handleEnumList(List<Enum> en);
        public Enum handleEnumComplex(Enum en, int i, char c);
        public Enum[] handleEnumComplex2(Enum en[], int in, char c);
+       public Enum[] handleEnumTwo(Enum en1[], Enum en2[]);
 
        public Struct handleStruct(Struct str);
        public Struct[] handleStructArray(Struct str[]);
        public List<Struct> handleStructList(List<Struct> str);
        public Struct handleStructComplex(int in, char c, Struct str);
+       public List<Struct> handleStructTwo(List<Struct> str1, List<Struct> str2);
+       public List<Struct> handleStructThree(List<Struct> str1, List<Struct> str2, List<Struct> str3);
        public List<Struct> handleStructComplex2(int in, char c, Struct str[]);
 
        public Enum[] handleEnumStruct(Enum en[], List<Struct> str, char c);
@@ -21,7 +24,10 @@ public interface TestClassInterface {
        public int callBack();
        public Enum[] handleCallbackEnum(Enum en[], char c, List<CallBackInterface> _cb);
 
+
        public Enum[] handleAll(Enum en[], List<Struct> str, char c, List<CallBackInterface> _cb);
+       public Enum[] handleAllTwo(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2, char c, List<CallBackInterface> _cb1, List<CallBackInterface> _cb2);
+       public Enum[] handleEnumThree(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2);
 
        capability EnumsStructs {
                description = "All the set methods";
@@ -31,16 +37,21 @@ public interface TestClassInterface {
                method = "handleEnumList(List<Enum> en)";
                method = "handleEnumComplex(Enum en, int i, char c)";
                method = "handleEnumComplex2(Enum en[], int in, char c)";
+               method = "handleEnumTwo(Enum en1[], Enum en2[])";
+               method = "handleEnumThree(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2)";
 
                method = "handleStruct(Struct str)";
                method = "handleStructArray(Struct str[])";
                method = "handleStructList(List<Struct> str)";
                method = "handleStructComplex(int in, char c, Struct str)";
                method = "handleStructComplex2(int in, char c, Struct str[])";
+               method = "handleStructTwo(List<Struct> str1, List<Struct> str2)";
+               method = "handleStructThree(List<Struct> str1, List<Struct> str2, List<Struct> str3)";
 
                method = "handleEnumStruct(Enum en[], List<Struct> str, char c)";
                method = "handleCallbackEnum(Enum en[], char c, List<CallBackInterface> _cb)";
                method = "handleAll(Enum en[], List<Struct> str, char c, List<CallBackInterface> _cb)";
+               method = "handleAllTwo(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2, char c, List<CallBackInterface> _cb1, List<CallBackInterface> _cb2)";
        }
 
        capability Callbacks {