@Test public void testGetOspfLsaType() throws Exception { ospflsaType = summaryLsa.getOspfLsaType(); assertThat(ospflsaType, is(notNullValue())); assertThat(ospflsaType, is(OspfLsaType.SUMMARY)); }
@Override public OspfLsaType getOspfLsaType() { return OspfLsaType.SUMMARY; }
SummaryLsa extends LsaHeader { @Override public OspfLsaType getOspfLsaType() { return OspfLsaType.SUMMARY; } }
SummaryLsa extends LsaHeader { @Override public OspfLsaType getOspfLsaType() { return OspfLsaType.SUMMARY; } SummaryLsa(LsaHeader lsaHeader); }
SummaryLsa extends LsaHeader { @Override public OspfLsaType getOspfLsaType() { return OspfLsaType.SUMMARY; } SummaryLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); int metric(); void setMetric(int metric); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
SummaryLsa extends LsaHeader { @Override public OspfLsaType getOspfLsaType() { return OspfLsaType.SUMMARY; } SummaryLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); int metric(); void setMetric(int metric); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }