@Test public void testGetLsaHeaderList() throws Exception { ddPacket.addLsaHeader(createLsaHeader()); opqueHeader = new OpaqueLsaHeader(); opqueHeader.setLsType(9); opqueHeader.setLsPacketLen(48); opqueHeader.setLsCheckSum(10); opqueHeader.setAge(4); opqueHeader.setOpaqueId(9); opqueHeader.setOpaqueType(9); opqueHeader.setLsSequenceNo(250); opqueHeader.setAdvertisingRouter(Ip4Address.valueOf("100.226.165.165")); opqueHeader.setOptions(2); ddPacket.setIsOpaqueCapable(true); ddPacket.addLsaHeader(opqueHeader); opqueHeader1 = new OpaqueLsaHeader(); opqueHeader1.setLsType(10); opqueHeader1.setLsPacketLen(48); opqueHeader1.setLsCheckSum(10); opqueHeader1.setAge(4); opqueHeader1.setOpaqueId(9); opqueHeader1.setOpaqueType(9); opqueHeader1.setLsSequenceNo(250); opqueHeader1.setAdvertisingRouter(Ip4Address.valueOf("100.226.165.165")); opqueHeader1.setOptions(66); ddPacket.addLsaHeader(opqueHeader1); header = ddPacket.getLsaHeaderList(); assertThat(header, is(notNullValue())); }
public List<LsaHeader> getLsaHeaderList() { return lsaHeaderList; }
DdPacket extends OspfPacketHeader { public List<LsaHeader> getLsaHeaderList() { return lsaHeaderList; } }
DdPacket extends OspfPacketHeader { public List<LsaHeader> getLsaHeaderList() { return lsaHeaderList; } DdPacket();  DdPacket(OspfPacketHeader ospfHeader); }
DdPacket extends OspfPacketHeader { public List<LsaHeader> getLsaHeaderList() { return lsaHeaderList; } DdPacket();  DdPacket(OspfPacketHeader ospfHeader); boolean isOpaqueCapable(); void setIsOpaqueCapable(boolean isOpaqueCapable); int ims(); void setIms(int ims); int isMaster(); void setIsMaster(int isMaster); int isInitialize(); void setIsInitialize(int isInitialize); int isMore(); void setIsMore(int isMore); int imtu(); void setImtu(int imtu); int options(); void setOptions(int options); long sequenceNo(); void setSequenceNo(long sequenceNo); List<LsaHeader> getLsaHeaderList(); void addLsaHeader(LsaHeader lsaHeader); @Override OspfPacketType ospfMessageType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] getDdHeaderAsByteArray(); byte[] getDdBodyAsByteArray(); @Override String toString(); }
DdPacket extends OspfPacketHeader { public List<LsaHeader> getLsaHeaderList() { return lsaHeaderList; } DdPacket();  DdPacket(OspfPacketHeader ospfHeader); boolean isOpaqueCapable(); void setIsOpaqueCapable(boolean isOpaqueCapable); int ims(); void setIms(int ims); int isMaster(); void setIsMaster(int isMaster); int isInitialize(); void setIsInitialize(int isInitialize); int isMore(); void setIsMore(int isMore); int imtu(); void setImtu(int imtu); int options(); void setOptions(int options); long sequenceNo(); void setSequenceNo(long sequenceNo); List<LsaHeader> getLsaHeaderList(); void addLsaHeader(LsaHeader lsaHeader); @Override OspfPacketType ospfMessageType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] getDdHeaderAsByteArray(); byte[] getDdBodyAsByteArray(); @Override String toString();  }