@Test public void testP2PHeader() throws Exception { result = p2PHelloPdu.p2PHeader(); assertThat(result, is(notNullValue())); }
public byte[] p2PHeader() { List<Byte> headerList = new ArrayList<>(); headerList.add(this.irpDiscriminator()); headerList.add((byte) IsisUtil.getPduHeaderLength(this.pduType())); headerList.add(this.version()); headerList.add(this.idLength()); headerList.add((byte) this.pduType()); headerList.add(this.version2()); headerList.add(this.reserved()); headerList.add(this.maximumAreaAddresses()); return Bytes.toArray(headerList); }
P2PHelloPdu extends HelloPdu { public byte[] p2PHeader() { List<Byte> headerList = new ArrayList<>(); headerList.add(this.irpDiscriminator()); headerList.add((byte) IsisUtil.getPduHeaderLength(this.pduType())); headerList.add(this.version()); headerList.add(this.idLength()); headerList.add((byte) this.pduType()); headerList.add(this.version2()); headerList.add(this.reserved()); headerList.add(this.maximumAreaAddresses()); return Bytes.toArray(headerList); } }
P2PHelloPdu extends HelloPdu { public byte[] p2PHeader() { List<Byte> headerList = new ArrayList<>(); headerList.add(this.irpDiscriminator()); headerList.add((byte) IsisUtil.getPduHeaderLength(this.pduType())); headerList.add(this.version()); headerList.add(this.idLength()); headerList.add((byte) this.pduType()); headerList.add(this.version2()); headerList.add(this.reserved()); headerList.add(this.maximumAreaAddresses()); return Bytes.toArray(headerList); } P2PHelloPdu(IsisHeader isisHeader); }
P2PHelloPdu extends HelloPdu { public byte[] p2PHeader() { List<Byte> headerList = new ArrayList<>(); headerList.add(this.irpDiscriminator()); headerList.add((byte) IsisUtil.getPduHeaderLength(this.pduType())); headerList.add(this.version()); headerList.add(this.idLength()); headerList.add((byte) this.pduType()); headerList.add(this.version2()); headerList.add(this.reserved()); headerList.add(this.maximumAreaAddresses()); return Bytes.toArray(headerList); } P2PHelloPdu(IsisHeader isisHeader); byte localCircuitId(); void setLocalCircuitId(byte localCircuitId); void setVariableLengths(List<IsisTlv> variableLengths); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] p2PHeader(); byte[] p2P2HelloPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
P2PHelloPdu extends HelloPdu { public byte[] p2PHeader() { List<Byte> headerList = new ArrayList<>(); headerList.add(this.irpDiscriminator()); headerList.add((byte) IsisUtil.getPduHeaderLength(this.pduType())); headerList.add(this.version()); headerList.add(this.idLength()); headerList.add((byte) this.pduType()); headerList.add(this.version2()); headerList.add(this.reserved()); headerList.add(this.maximumAreaAddresses()); return Bytes.toArray(headerList); } P2PHelloPdu(IsisHeader isisHeader); byte localCircuitId(); void setLocalCircuitId(byte localCircuitId); void setVariableLengths(List<IsisTlv> variableLengths); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] p2PHeader(); byte[] p2P2HelloPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }