com.ibm.as400.util.commtrace

Class PrefixInfo



  • public class PrefixInfo
    extends NDOption
    A PrefixInfo Header.
    Extends NDOption's methods to parse, print, and allow easy access to the PrefixInfo Header
    • Method Detail

      • toString

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

        public java.lang.String getPrefixLength()
        Returns the prefix length of this PrefixInfo header.
        Returns:
        String containing a decimal representation of the prefix length.
      • getLFlag

        public java.lang.String getLFlag()
        Returns the on-link flag of this PrefixInfo header.
        Returns:
        String containing a Byte.toString(byte) representation of this flag bit.
      • getAFlag

        public java.lang.String getAFlag()
        Returns the autonomous address-configuration flag of this PrefixInfo header.
        Returns:
        String containing a Byte.toString(byte) representation of this flag bit.
      • getValidLifeTime

        public java.lang.String getValidLifeTime()
        Returns the valid life time of this PrefixInfo header.
        Returns:
        String containing a decimal representation of the valid life time.
      • getPreferredLifeTime

        public java.lang.String getPreferredLifeTime()
        Returns the preferred life time of this PrefixInfo header.
        Returns:
        String containing a decimal representation of the preferred life time.
      • getPrefix

        public java.lang.String getPrefix()
        Returns the prefix of this PrefixInfo header.
        Returns:
        String containing a decimal representation of the prefix.