@Test public void testPopulateHeader() throws Exception { isisHeader.populateHeader(new IsisHeader()); assertThat(isisHeader, is(notNullValue())); }
public void populateHeader(IsisHeader isisHeader) { this.setIrpDiscriminator(isisHeader.irpDiscriminator()); this.setPduHeaderLength(isisHeader.pduHeaderLength()); this.setVersion(isisHeader.version()); this.setIdLength(isisHeader.idLength()); this.setIsisPduType(isisHeader.pduType()); this.setVersion2(isisHeader.version2()); this.setReserved(isisHeader.reserved()); this.setMaximumAreaAddresses(isisHeader.maximumAreaAddresses()); }
IsisHeader implements IsisMessage { public void populateHeader(IsisHeader isisHeader) { this.setIrpDiscriminator(isisHeader.irpDiscriminator()); this.setPduHeaderLength(isisHeader.pduHeaderLength()); this.setVersion(isisHeader.version()); this.setIdLength(isisHeader.idLength()); this.setIsisPduType(isisHeader.pduType()); this.setVersion2(isisHeader.version2()); this.setReserved(isisHeader.reserved()); this.setMaximumAreaAddresses(isisHeader.maximumAreaAddresses()); } }
IsisHeader implements IsisMessage { public void populateHeader(IsisHeader isisHeader) { this.setIrpDiscriminator(isisHeader.irpDiscriminator()); this.setPduHeaderLength(isisHeader.pduHeaderLength()); this.setVersion(isisHeader.version()); this.setIdLength(isisHeader.idLength()); this.setIsisPduType(isisHeader.pduType()); this.setVersion2(isisHeader.version2()); this.setReserved(isisHeader.reserved()); this.setMaximumAreaAddresses(isisHeader.maximumAreaAddresses()); }  }
IsisHeader implements IsisMessage { public void populateHeader(IsisHeader isisHeader) { this.setIrpDiscriminator(isisHeader.irpDiscriminator()); this.setPduHeaderLength(isisHeader.pduHeaderLength()); this.setVersion(isisHeader.version()); this.setIdLength(isisHeader.idLength()); this.setIsisPduType(isisHeader.pduType()); this.setVersion2(isisHeader.version2()); this.setReserved(isisHeader.reserved()); this.setMaximumAreaAddresses(isisHeader.maximumAreaAddresses()); }  int interfaceIndex(); void setInterfaceIndex(int interfaceIndex); MacAddress interfaceMac(); MacAddress sourceMac(); void setSourceMac(MacAddress sourceMac); void setInterfaceMac(MacAddress interfaceMac); byte version2(); void setVersion2(byte version2); byte maximumAreaAddresses(); void setMaximumAreaAddresses(byte maximumAreaAddresses); byte reserved(); void setReserved(byte reserved); byte version(); byte idLength(); void setIdLength(byte idLength); int pduType(); void setIsisPduType(int isisPduType); void setVersion(byte version); byte pduHeaderLength(); void setPduHeaderLength(byte pduHeaderLength); byte irpDiscriminator(); void setIrpDiscriminator(byte irpDiscriminator); @Override IsisPduType isisPduType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); void populateHeader(IsisHeader isisHeader); }
IsisHeader implements IsisMessage { public void populateHeader(IsisHeader isisHeader) { this.setIrpDiscriminator(isisHeader.irpDiscriminator()); this.setPduHeaderLength(isisHeader.pduHeaderLength()); this.setVersion(isisHeader.version()); this.setIdLength(isisHeader.idLength()); this.setIsisPduType(isisHeader.pduType()); this.setVersion2(isisHeader.version2()); this.setReserved(isisHeader.reserved()); this.setMaximumAreaAddresses(isisHeader.maximumAreaAddresses()); }  int interfaceIndex(); void setInterfaceIndex(int interfaceIndex); MacAddress interfaceMac(); MacAddress sourceMac(); void setSourceMac(MacAddress sourceMac); void setInterfaceMac(MacAddress interfaceMac); byte version2(); void setVersion2(byte version2); byte maximumAreaAddresses(); void setMaximumAreaAddresses(byte maximumAreaAddresses); byte reserved(); void setReserved(byte reserved); byte version(); byte idLength(); void setIdLength(byte idLength); int pduType(); void setIsisPduType(int isisPduType); void setVersion(byte version); byte pduHeaderLength(); void setPduHeaderLength(byte pduHeaderLength); byte irpDiscriminator(); void setIrpDiscriminator(byte irpDiscriminator); @Override IsisPduType isisPduType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); void populateHeader(IsisHeader isisHeader);  }