Class UnknownIpV6Extension

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<IpNumber>

    public final class UnknownIpV6Extension
    extends IpNumber
    Unknown IPv6 Extension
    Since:
    pcap4j 2.0.0
    Author:
    Kaito Yamada
    See Also:
    Serialized Form
    • Method Detail

      • getInstance

        public static UnknownIpV6Extension getInstance()
        Returns:
        the singleton instance of UnknownIpV6Extension.
      • getInstance

        @Deprecated
        public static UnknownIpV6Extension getInstance​(java.lang.Byte value)
        Deprecated.
        Use getInstance() instead.
        This method is just to hide a method of the super class.
        Parameters:
        value - value
        Returns:
        the singleton instance of UnknownIpV6Extension.
      • register

        @Deprecated
        public static UnknownIpV6Extension register​(IpNumber number)
        Deprecated.
        This method always throws UnsupportedOperationException.
        This method is just to hide a method of the super class.
        Parameters:
        number - number
        Returns:
        N/A
        Throws:
        java.lang.UnsupportedOperationException - always.
      • value

        @Deprecated
        public java.lang.Byte value()
        Deprecated.
        This method returns a dummy value.
        Overrides:
        value in class NamedNumber<java.lang.Byte,​IpNumber>
        Returns:
        value
      • name

        @Deprecated
        public java.lang.String name()
        Deprecated.
        This method returns a dummy name.
        Overrides:
        name in class NamedNumber<java.lang.Byte,​IpNumber>
        Returns:
        name
      • valueAsString

        @Deprecated
        public java.lang.String valueAsString()
        Deprecated.
        This method returns a dummy value.
        Overrides:
        valueAsString in class IpNumber
        Returns:
        a string representation of this value.
      • compareTo

        @Deprecated
        public int compareTo​(IpNumber o)
        Deprecated.
        Comparing this to an IpNumber instance is no use.
        Specified by:
        compareTo in interface java.lang.Comparable<IpNumber>
        Overrides:
        compareTo in class IpNumber
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class NamedNumber<java.lang.Byte,​IpNumber>