Adding support to returning struct/list of struct objects
[iot2.git] / iotjava / iotrmi / Java / IoTRMIUtil.java
index b187bcd951c73c1fc302afe4dd063f18604c9b51..e2387557673986ba42c44ce169a70744cc1cc49a 100644 (file)
@@ -40,6 +40,7 @@ public class IoTRMIUtil {
        public final static int OBJECT_ID_LEN = 4;      // 4 bytes = 32 bits
        public final static int METHOD_ID_LEN = 4;      // 4 bytes = 32 bits
        public final static int PARAM_LEN = 4;          // 4 bytes = 32 bits (4-byte field that stores the length of the param)
+       public final static int RETURN_LEN = 4;         // 4 bytes = 32 bits (4-byte field that stores the length of the return object)
 
        public final static int SHT_LEN = 2;
        public final static int INT_LEN = 4;