@Test public void testGetLinkSubTypeTlvBodyAsByteArray() throws Exception { result = trafficEngineeringMetric.getLinkSubTypeTlvBodyAsByteArray(); assertThat(result, is(notNullValue())); }
public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(this.trafficEngineeringMetric); return linkSubTypeBody; }
TrafficEngineeringMetric extends TlvHeader implements LinkSubType { public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(this.trafficEngineeringMetric); return linkSubTypeBody; } }
TrafficEngineeringMetric extends TlvHeader implements LinkSubType { public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(this.trafficEngineeringMetric); return linkSubTypeBody; } TrafficEngineeringMetric(TlvHeader header); }
TrafficEngineeringMetric extends TlvHeader implements LinkSubType { public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(this.trafficEngineeringMetric); return linkSubTypeBody; } TrafficEngineeringMetric(TlvHeader header); void setTrafficEngineeringMetric(long trafficEngineeringMetric); long getTrafficEngineeringMetricValue(); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLinkSubTypeTlvBodyAsByteArray(); @Override String toString(); }
TrafficEngineeringMetric extends TlvHeader implements LinkSubType { public byte[] getLinkSubTypeTlvBodyAsByteArray() { byte[] linkSubTypeBody; linkSubTypeBody = OspfUtil.convertToFourBytes(this.trafficEngineeringMetric); return linkSubTypeBody; } TrafficEngineeringMetric(TlvHeader header); void setTrafficEngineeringMetric(long trafficEngineeringMetric); long getTrafficEngineeringMetricValue(); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLinkSubTypeTlvBodyAsByteArray(); @Override String toString();  }