Enum Ipv6RaMode

  • All Implemented Interfaces:
    Serializable, Comparable<Ipv6RaMode>

    public enum Ipv6RaMode
    extends Enum<Ipv6RaMode>
    The IPv6 router advertisement specifies whether the networking service should transmit ICMPv6 packets, for a subnet
    Author:
    Taemin
    • Enum Constant Detail

      • DHCPV6_STATEFUL

        public static final Ipv6RaMode DHCPV6_STATEFUL
      • DHCPV6_STATELESS

        public static final Ipv6RaMode DHCPV6_STATELESS
    • Method Detail

      • values

        public static Ipv6RaMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Ipv6RaMode c : Ipv6RaMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Ipv6RaMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getIpv6RaMode

        public String getIpv6RaMode()