X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=iotjava%2Fiotrmi%2FJava%2FIoTRMIObject.java;h=c960aa7080d3b08b344bf7027e308d53a6d038e0;hb=7e8c0cabb7057ad561adbb8b6cc2a0fd5c41bbf4;hp=06a56ce5638a6e653411cffd373a00a6066da01e;hpb=8e565033fd19c4696f67862ade27f0ebbacf5682;p=iot2.git diff --git a/iotjava/iotrmi/Java/IoTRMIObject.java b/iotjava/iotrmi/Java/IoTRMIObject.java index 06a56ce..c960aa7 100644 --- a/iotjava/iotrmi/Java/IoTRMIObject.java +++ b/iotjava/iotrmi/Java/IoTRMIObject.java @@ -93,16 +93,6 @@ public final class IoTRMIObject { } - /** - * setMethodBytes() sets bytes for method - */ - /*public void setMethodBytes(byte[] _methodBytes) throws IOException { - - // Set method bytes - methodBytes = _methodBytes; - }*/ - - /** * getMethodId() gets method Id from bytes */ @@ -114,7 +104,6 @@ public final class IoTRMIObject { System.arraycopy(methodBytes, IoTRMIUtil.OBJECT_ID_LEN, methodIdBytes, 0, IoTRMIUtil.METHOD_ID_LEN); // Get method Id int methodId = IoTRMIUtil.byteArrayToInt(methodIdBytes); - // Get method Id return methodId; } @@ -130,7 +119,6 @@ public final class IoTRMIObject { System.arraycopy(methodBytes, IoTRMIUtil.OBJECT_ID_LEN, methodIdBytes, 0, IoTRMIUtil.METHOD_ID_LEN); // Get method Id int methodId = IoTRMIUtil.byteArrayToInt(methodIdBytes); - // Get method Id return methodId; }