Cleaning methodSignatures
authorrtrimana <rtrimana@uci.edu>
Sat, 5 Nov 2016 20:38:11 +0000 (13:38 -0700)
committerrtrimana <rtrimana@uci.edu>
Sat, 5 Nov 2016 20:38:11 +0000 (13:38 -0700)
iotjava/iotrmi/Java/sample/CallBack_Skeleton.java
iotjava/iotrmi/Java/sample/CallBack_Stub.java
iotjava/iotrmi/Java/sample/TestClass_Skeleton.java
iotjava/iotrmi/Java/sample/TestClass_Stub.java

index d6d4ee0e91072b179a7cb20abc5976d7c9e5d04f..ed297c8c5b5d3e83a7861f082e72dda8650a5b58 100644 (file)
@@ -8,11 +8,6 @@ import iotrmi.Java.IoTRMIObject;
 public class CallBack_Skeleton implements CallBackInterface {
 
        private int objectId = 0;       // Default value is 0
-       private final static String[] methodSignatures = {
-
-               "intprintInt()",
-               "voidsetInt(int)"
-       };
        private CallBackInterface cb;
        private IoTRMIObject rmiObj;
 
@@ -77,13 +72,6 @@ public class CallBack_Skeleton implements CallBackInterface {
        }
 
 
-       // Return method signatures
-       public static String[] getMethodSignatures() {
-
-               return methodSignatures;
-       }
-
-
        public static void main(String[] args) throws Exception {
 
                int port = 5010;
index 638f7da5336ae19d06488eb82e12369bfa0027ef..04dc0d97c2cbe48bd20f95bcd0c99b2d15ba5926 100644 (file)
@@ -11,11 +11,6 @@ public class CallBack_Stub implements CallBackInterface {
        private IoTRMICall rmiCall;
 
        private int objectId = 0;       // Default value is 0
-       private final static String[] methodSignatures = {
-
-               "intprintInt()",
-               "voidsetInt(int)"
-       };
 
        /**
         * Constructors
@@ -26,13 +21,6 @@ public class CallBack_Stub implements CallBackInterface {
        }
 
 
-       // Return method signatures
-       public static String[] getMethodSignatures() {
-
-               return methodSignatures;
-       }
-
-
        public int printInt() {
 
                int methodId = 0;
index 7147073ee1c56902922bf72739706b5283a1f4e1..aec1d56381e782b233da908b2e06da432e437771 100644 (file)
@@ -16,22 +16,6 @@ public class TestClass_Skeleton implements TestClassInterface {
         */
        private int objectId = 0;       // Default value is 0
        private static int objIdCnt = 0; // Counter for callback object Ids
-       private final static String[] methodSignatures = {
-
-               "voidsetA(int)", // 0
-               "voidsetB(float)", // 1
-               "voidsetC(string)", // 2
-               "sumArray(string[])", // 3
-               "intsetAndGetA(int)", // 4
-               "intsetACAndGetA(string,int)", // 5
-               "intcallBack()", // 6
-               "voidregisterCallBack(CallBackInterface)", // 7
-               "voidregisterCallBack(CallBackInterface[])", // 8
-               "registercallback", // 9
-               "handleStruct(StructJ[])", // 10
-               "structsize" // 11
-       };
-
        private TestClassInterface tc;
        private int port;
        private IoTRMIObject rmiObj;
@@ -280,13 +264,6 @@ public class TestClass_Skeleton implements TestClassInterface {
                        }
                }
        }
-
-
-       // Return method signatures
-       public static String[] getMethodSignatures() {
-
-               return methodSignatures;
-       }
        
        
        public static void main(String[] args) throws Exception {
index 3f70b0c91f248ead94dd1d881dc0a90e77b10651..c1f03c60701668dea9c9e0ab7f7e66516e070f17 100644 (file)
@@ -27,21 +27,6 @@ public class TestClass_Stub implements TestClassInterface {
        private final static int NUM_CB_OBJ = 1;
        private int objectId = 0;       // Default value is 0
        private static int objIdCnt = 0; // Counter for callback object Ids
-       private final static String[] methodSignatures = {
-
-               "voidsetA(int)", // 0
-               "voidsetB(float)", // 1
-               "voidsetC(string)", // 2
-               "sumArray(string[])", // 3
-               "intsetAndGetA(int)", // 4
-               "intsetACAndGetA(string,int)", // 5
-               "intcallBack()", // 6
-               "voidregisterCallBack(CallBackInterface)", // 7
-               "voidregisterCallBack(CallBackInterface[])", // 8
-               "registercallback", // 9
-               "handleStruct(StructJ[])", // 10
-               "structsize" // 11
-       };
 
        /**
         * Constructors
@@ -66,13 +51,6 @@ public class TestClass_Stub implements TestClassInterface {
        }
 
 
-       // Return method signatures
-       public static String[] getMethodSignatures() {
-
-               return methodSignatures;
-       }
-
-
        // Initialize callback
        public void ___initCallBack() {