com.ibm.as400.util.commtrace

Class NeighborAdvertisement



  • public class NeighborAdvertisement
    extends Message
    A Neighbor Advertisement Header.
    Extends Message's methods to parse, print, and allow easy access to the Neighbor Advertisement Header
  • >
    • Method Detail

      • getNextHeader

        public Header getNextHeader()
        Returns the next header in the packet
        Overrides:
        getNextHeader in class ICMP6Header
        Returns:
        Will always return a NDOption header
      • getHeaderLen

        public int getHeaderLen()
        Returns the length of this header.
        Overrides:
        getHeaderLen in class ICMP6Header
        Returns:
        Will always return 160
      • toString

        public java.lang.String toString(FormatProperties filter)
        Returns a printable representation of this header.
        Overrides:
        toString in class Message
        Parameters:
        filter - FormatProperties object for filtering this header.
        Returns:
        Returns a string representation of this header.
      • getRouter

        public java.lang.String getRouter()
        Returns the router flag of this NeighborAdvertisement Message
        Returns:
        String containing a Byte.toString(byte) of this flag bit
      • getSolicited

        public java.lang.String getSolicited()
        Returns the solicited flag of this NeighborAdvertisement Message
        Returns:
        String containing a Byte.toString(byte) of this flag bit
      • getOverride

        public java.lang.String getOverride()
        Returns the override flag of this NeighborAdvertisement Message
        Returns:
        String containing a Byte.toString(byte) of this flag bit
      • getTarget

        public java.lang.String getTarget()
        Returns the target address of this NeighborAdvertisement Message
        Returns:
        String containing a IPv6 address