Adjusting and cleaning up ZigbeeTest to install Vigilia ZigBee gateway and devices.
[iot2.git] / iotjava / iotrmi / Java / sample / CallBack_Skeleton.java
index ed297c8c5b5d3e83a7861f082e72dda8650a5b58..77a3c815f452fb9d5aabb4a4b393789fea45bc75 100644 (file)
@@ -44,7 +44,7 @@ public class CallBack_Skeleton implements CallBackInterface {
        
        public void ___setInt() {
                Object[] paramObj = rmiObj.getMethodParams(new Class<?>[] { int.class }, 
-                       new Class<?>[] { null }, new Class<?>[] { null });
+                       new Class<?>[] { null });
                setInt((int) paramObj[0]);
        }
        
@@ -65,7 +65,7 @@ public class CallBack_Skeleton implements CallBackInterface {
                                        case 0: ___printInt(); break;
                                        case 1: ___setInt(); break;
                                        default:
-                                               throw new Error("Signature not recognized!");
+                                               throw new Error("Method Id not recognized!");
                                }
                        }
                }