@Test public void testSetValue() throws Exception { EzspFrame.setEzspVersion(4); EzspSetValueRequest request = new EzspSetValueRequest(); TestUtilities.setField(EzspFrame.class, request, "sequenceNumber", 2); request.setValueId(EzspValueId.EZSP_VALUE_APS_FRAME_COUNTER); request.setValue(new int[] { 1, 2, 3, 4 }); System.out.println(request); assertTrue(Arrays.equals(getPacketData("02 00 AB 24 04 01 02 03 04"), request.serialize())); }
public void setValue(int[] value) { this.value = value; }
EzspSetValueRequest extends EzspFrameRequest { public void setValue(int[] value) { this.value = value; } }
EzspSetValueRequest extends EzspFrameRequest { public void setValue(int[] value) { this.value = value; } EzspSetValueRequest(); }
EzspSetValueRequest extends EzspFrameRequest { public void setValue(int[] value) { this.value = value; } EzspSetValueRequest(); EzspValueId getValueId(); void setValueId(EzspValueId valueId); int[] getValue(); void setValue(int[] value); @Override int[] serialize(); @Override String toString(); }
EzspSetValueRequest extends EzspFrameRequest { public void setValue(int[] value) { this.value = value; } EzspSetValueRequest(); EzspValueId getValueId(); void setValueId(EzspValueId valueId); int[] getValue(); void setValue(int[] value); @Override int[] serialize(); @Override String toString(); static final int FRAME_ID; }