@Test public void testInterfaceIpAddresses() throws Exception { channelBuffer = ChannelBuffers.copiedBuffer(helloL1L2); helloPdu.readFrom(channelBuffer); resultListIPv4 = helloPdu.interfaceIpAddresses(); assertThat(resultListIPv4.size(), is(1)); }
public List<Ip4Address> interfaceIpAddresses() { List<Ip4Address> interfaceIpAddresses = null; for (IsisTlv tlv : tlvs()) { if (tlv instanceof IpInterfaceAddressTlv) { interfaceIpAddresses = ((IpInterfaceAddressTlv) tlv).interfaceAddress(); } } return interfaceIpAddresses; }
HelloPdu extends IsisHeader { public List<Ip4Address> interfaceIpAddresses() { List<Ip4Address> interfaceIpAddresses = null; for (IsisTlv tlv : tlvs()) { if (tlv instanceof IpInterfaceAddressTlv) { interfaceIpAddresses = ((IpInterfaceAddressTlv) tlv).interfaceAddress(); } } return interfaceIpAddresses; } }
HelloPdu extends IsisHeader { public List<Ip4Address> interfaceIpAddresses() { List<Ip4Address> interfaceIpAddresses = null; for (IsisTlv tlv : tlvs()) { if (tlv instanceof IpInterfaceAddressTlv) { interfaceIpAddresses = ((IpInterfaceAddressTlv) tlv).interfaceAddress(); } } return interfaceIpAddresses; }  }
HelloPdu extends IsisHeader { public List<Ip4Address> interfaceIpAddresses() { List<Ip4Address> interfaceIpAddresses = null; for (IsisTlv tlv : tlvs()) { if (tlv instanceof IpInterfaceAddressTlv) { interfaceIpAddresses = ((IpInterfaceAddressTlv) tlv).interfaceAddress(); } } return interfaceIpAddresses; }  void addTlv(IsisTlv isisTlv); List<IsisTlv> tlvs(); List<String> areaAddress(); List<Ip4Address> interfaceIpAddresses(); List<MacAddress> neighborList(); IsisInterfaceState adjacencyState(); String sourceId(); void setSourceId(String sourceId); int pduLength(); void setPduLength(int pduLength); int holdingTime(); void setHoldingTime(int holdingTime); byte circuitType(); void setCircuitType(byte circuitType); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
HelloPdu extends IsisHeader { public List<Ip4Address> interfaceIpAddresses() { List<Ip4Address> interfaceIpAddresses = null; for (IsisTlv tlv : tlvs()) { if (tlv instanceof IpInterfaceAddressTlv) { interfaceIpAddresses = ((IpInterfaceAddressTlv) tlv).interfaceAddress(); } } return interfaceIpAddresses; }  void addTlv(IsisTlv isisTlv); List<IsisTlv> tlvs(); List<String> areaAddress(); List<Ip4Address> interfaceIpAddresses(); List<MacAddress> neighborList(); IsisInterfaceState adjacencyState(); String sourceId(); void setSourceId(String sourceId); int pduLength(); void setPduLength(int pduLength); int holdingTime(); void setHoldingTime(int holdingTime); byte circuitType(); void setCircuitType(byte circuitType); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }