@Test public void testAddExternalDesitnation() throws Exception { externalLsa.addExternalDestination(createOspfExternalDestination()); assertThat(externalLsa, is(notNullValue())); }
public void addExternalDestination(OspfExternalDestination externalDestination) { if (!externalDestinations.contains(externalDestination)) { externalDestinations.add(externalDestination); } }
ExternalLsa extends LsaHeader { public void addExternalDestination(OspfExternalDestination externalDestination) { if (!externalDestinations.contains(externalDestination)) { externalDestinations.add(externalDestination); } } }
ExternalLsa extends LsaHeader { public void addExternalDestination(OspfExternalDestination externalDestination) { if (!externalDestinations.contains(externalDestination)) { externalDestinations.add(externalDestination); } } ExternalLsa(LsaHeader lsaHeader); }
ExternalLsa extends LsaHeader { public void addExternalDestination(OspfExternalDestination externalDestination) { if (!externalDestinations.contains(externalDestination)) { externalDestinations.add(externalDestination); } } ExternalLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); void addExternalDestination(OspfExternalDestination externalDestination); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
ExternalLsa extends LsaHeader { public void addExternalDestination(OspfExternalDestination externalDestination) { if (!externalDestinations.contains(externalDestination)) { externalDestinations.add(externalDestination); } } ExternalLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); void addExternalDestination(OspfExternalDestination externalDestination); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }