com.ibm.as400.util.commtrace

Class RouterAdvertisement



  • public class RouterAdvertisement
    extends Message
    A Router Advertisement Header.
    Extends Message's methods to parse, print, and allow easy access to the Router 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 96.
      • 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.
      • getCurrentHopLimit

        public java.lang.String getCurrentHopLimit()
        Returns the current hop limit of this RouterAdvertisement Message.
        Returns:
        String containing a decimal representation of the current hop limit.
      • getMFlag

        public java.lang.String getMFlag()
        Returns the "Managed address configuration" flag of this RouterAdvertisement Message.
        Returns:
        String containing a Byte.toString(byte) representation of the flag.
      • getOFlag

        public java.lang.String getOFlag()
        Returns the "Other stateful configuration" flag of this RouterAdvertisement Message.
        Returns:
        String containing a Byte.toString(byte) representation of the flag.
      • getRouterLifeTime

        public java.lang.String getRouterLifeTime()
        Returns the router life time of this RouterAdvertisement Message.
        Returns:
        String containing a decimal representation of the router life time.
      • getReachableTime

        public java.lang.String getReachableTime()
        Returns the reachable time of this RouterAdvertisement Message.
        Returns:
        String containing a decimal representation of the reachable time.
      • getRetransTimer

        public java.lang.String getRetransTimer()
        Returns the retrans Time of this RouterAdvertisement Message.
        Returns:
        String containing a decimal representation of the retrans timer.