@Test public void testGetLinkStateHeaders() throws Exception { lsaHeader = createLsaHeader(); lsAck.addLinkStateHeader(lsaHeader); lsAck.addLinkStateHeader(lsaHeader); List headers = lsAck.getLinkStateHeaders(); assertThat(headers.size(), is(1)); }
public List<LsaHeader> getLinkStateHeaders() { return linkStateHeaders; }
LsAcknowledge extends OspfPacketHeader { public List<LsaHeader> getLinkStateHeaders() { return linkStateHeaders; } }
LsAcknowledge extends OspfPacketHeader { public List<LsaHeader> getLinkStateHeaders() { return linkStateHeaders; } LsAcknowledge();  LsAcknowledge(OspfPacketHeader ospfHeader); }
LsAcknowledge extends OspfPacketHeader { public List<LsaHeader> getLinkStateHeaders() { return linkStateHeaders; } LsAcknowledge();  LsAcknowledge(OspfPacketHeader ospfHeader); List<LsaHeader> getLinkStateHeaders(); void addLinkStateHeader(LsaHeader lsaHeader); @Override OspfPacketType ospfMessageType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] getLsAckAsByteArray(); byte[] getLsAckBodyAsByteArray(); @Override String toString(); }
LsAcknowledge extends OspfPacketHeader { public List<LsaHeader> getLinkStateHeaders() { return linkStateHeaders; } LsAcknowledge();  LsAcknowledge(OspfPacketHeader ospfHeader); List<LsaHeader> getLinkStateHeaders(); void addLinkStateHeader(LsaHeader lsaHeader); @Override OspfPacketType ospfMessageType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] getLsAckAsByteArray(); byte[] getLsAckBodyAsByteArray(); @Override String toString();  }