@Test public void testGetLinkSubTypeTlvBodyAsByteArray() throws Exception { result = maximumReservableBandwidth.getLinksubTypeTlvBodyAsByteArray(); assertThat(result, is(notNullValue())); }
public byte[] getLinksubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(Float.floatToIntBits(this.maximumReservableBandwidth)); return linkSubTypeBody; }
MaximumReservableBandwidth extends TlvHeader implements LinkSubType { public byte[] getLinksubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(Float.floatToIntBits(this.maximumReservableBandwidth)); return linkSubTypeBody; } }
MaximumReservableBandwidth extends TlvHeader implements LinkSubType { public byte[] getLinksubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(Float.floatToIntBits(this.maximumReservableBandwidth)); return linkSubTypeBody; } MaximumReservableBandwidth(TlvHeader header); }
MaximumReservableBandwidth extends TlvHeader implements LinkSubType { public byte[] getLinksubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(Float.floatToIntBits(this.maximumReservableBandwidth)); return linkSubTypeBody; } MaximumReservableBandwidth(TlvHeader header); void setMaximumBandwidth(float maximumBandwidth); float getMaximumBandwidthValue(); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLinksubTypeTlvBodyAsByteArray(); @Override String toString(); }
MaximumReservableBandwidth extends TlvHeader implements LinkSubType { public byte[] getLinksubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(Float.floatToIntBits(this.maximumReservableBandwidth)); return linkSubTypeBody; } MaximumReservableBandwidth(TlvHeader header); void setMaximumBandwidth(float maximumBandwidth); float getMaximumBandwidthValue(); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLinksubTypeTlvBodyAsByteArray(); @Override String toString();  }