@Test public void testL1l2IsisPduHeader() throws Exception { result = lsPdu.l1l2IsisPduHeader(); assertThat(result, is(notNullValue())); }
public byte[] l1l2IsisPduHeader() { 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); }
LsPdu extends IsisHeader { public byte[] l1l2IsisPduHeader() { 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); } }
LsPdu extends IsisHeader { public byte[] l1l2IsisPduHeader() { 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); } LsPdu(IsisHeader isisHeader); }
LsPdu extends IsisHeader { public byte[] l1l2IsisPduHeader() { 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); } LsPdu(IsisHeader isisHeader); List<IsisTlv> tlvs(); void addTlv(IsisTlv isisTlv); int remainingLifeTime(); void setRemainingLifeTime(int remainingLifeTime); boolean lspDbol(); void setLspDbol(boolean lspDbol); byte typeBlock(); void setTypeBlock(byte typeBlock); int sequenceNumber(); void setSequenceNumber(int sequenceNumber); int checkSum(); void setCheckSum(int checkSum); boolean partitionRepair(); void setPartitionRepair(boolean partitionRepair); AttachedToOtherAreas attachedToOtherAreas(); void setAttachedToOtherAreas(AttachedToOtherAreas attachedToOtherAreas); byte intermediateSystemType(); void setIntermediateSystemType(byte intermediateSystemType); String lspId(); void setLspId(String lspId); int pduLength(); void setPduLength(int pduLength); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] l1l2IsisPduHeader(); byte[] l1l2LsPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
LsPdu extends IsisHeader { public byte[] l1l2IsisPduHeader() { 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); } LsPdu(IsisHeader isisHeader); List<IsisTlv> tlvs(); void addTlv(IsisTlv isisTlv); int remainingLifeTime(); void setRemainingLifeTime(int remainingLifeTime); boolean lspDbol(); void setLspDbol(boolean lspDbol); byte typeBlock(); void setTypeBlock(byte typeBlock); int sequenceNumber(); void setSequenceNumber(int sequenceNumber); int checkSum(); void setCheckSum(int checkSum); boolean partitionRepair(); void setPartitionRepair(boolean partitionRepair); AttachedToOtherAreas attachedToOtherAreas(); void setAttachedToOtherAreas(AttachedToOtherAreas attachedToOtherAreas); byte intermediateSystemType(); void setIntermediateSystemType(byte intermediateSystemType); String lspId(); void setLspId(String lspId); int pduLength(); void setPduLength(int pduLength); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] l1l2IsisPduHeader(); byte[] l1l2LsPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }