Package org.pcap4j.packet.namednumber
Class UnknownIpV6Extension
- java.lang.Object
-
- org.pcap4j.packet.namednumber.NamedNumber<java.lang.Byte,IpNumber>
-
- org.pcap4j.packet.namednumber.IpNumber
-
- org.pcap4j.packet.namednumber.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
-
-
Field Summary
-
Fields inherited from class org.pcap4j.packet.namednumber.IpNumber
ACTIVE_NETWORKS, AH, ARGUS, ARIS, AX_25, BBN_RCC_MON, BNA, BR_SAT_MON, CBT, CFTP, CHAOS, COMPAQ_PEER, CPHB, CPNX, CRTP, CRUDP, DCCP, DCN_MEAS, DDP, DDX, DGP, DSR, EGP, EIGRP, EMCON, ENCAP, ESP, ETHERIP, FC, FIRE, GGP, GMTP, GRE, HIP, HMP, I_NLSP, IATP, ICMPV4, ICMPV6, IDPR, IDPR_CMTP, IDRP, IFMP, IGMP, IGP, IL, IPCOMP, IPCV, IPIP, IPLT, IPPC, IPTM, IPV4, IPV6, IPV6_DST_OPTS, IPV6_FRAG, IPV6_HOPOPT, IPV6_NONXT, IPV6_ROUTE, IPX_IN_IP, IRTP, ISIS_OVER_IPV4, ISO_IP, ISO_TP4, KRYPTOLAN, L2TP, LARP, LEAF_1, LEAF_2, MANET, MERIT_INP, MFE_NSP, MICP, MOBILE, MOBILITY_HEADER, MPLS_IN_IP, MTP, MUX, NARP, NETBLT, NSFNET_IGP, NVP_II, OSPFIGP, PGM, PIM, PIPE, PNNI, PRM, PTP, PUP, PVP, QNX, RDP, ROHC, RSVP, RSVP_E2E_IGNORE, RVD, SAT_EXPAK, SAT_MON, SCC_SP, SCPS, SCTP, SDRP, SECURE_VMTP, SHIM6, SKIP, SM, SMP, SNP, SPRITE_RPC, SPS, SRP, SSCOPMCE, ST, STP, SUN_ND, SWIPE, TCF, TCP, TLSP, TP_PP, TPC, TRUNK_1, TRUNK_2, TTP, UDP, UDPLITE, UTI, VINES, VISA, VMTP, VRRP, WB_EXPAK, WB_MON, WESP, WSN, XNET, XNS_IDP, XTP
-
-
Method Summary
Modifier and Type Method Description int
compareTo(IpNumber o)
Deprecated.Comparing this to an IpNumber instance is no use.boolean
equals(java.lang.Object obj)
static UnknownIpV6Extension
getInstance()
static UnknownIpV6Extension
getInstance(java.lang.Byte value)
Deprecated.UsegetInstance()
instead.int
hashCode()
java.lang.String
name()
Deprecated.This method returns a dummy name.static UnknownIpV6Extension
register(IpNumber number)
Deprecated.This method always throws UnsupportedOperationException.java.lang.String
toString()
java.lang.Byte
value()
Deprecated.This method returns a dummy value.java.lang.String
valueAsString()
Deprecated.This method returns a dummy value.
-
-
-
Method Detail
-
getInstance
public static UnknownIpV6Extension getInstance()
- Returns:
- the singleton instance of UnknownIpV6Extension.
-
getInstance
@Deprecated public static UnknownIpV6Extension getInstance(java.lang.Byte value)
Deprecated.UsegetInstance()
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 classNamedNumber<java.lang.Byte,IpNumber>
- Returns:
- value
-
name
@Deprecated public java.lang.String name()
Deprecated.This method returns a dummy name.- Overrides:
name
in classNamedNumber<java.lang.Byte,IpNumber>
- Returns:
- name
-
valueAsString
@Deprecated public java.lang.String valueAsString()
Deprecated.This method returns a dummy value.- Overrides:
valueAsString
in classIpNumber
- Returns:
- a string representation of this value.
-
compareTo
@Deprecated public int compareTo(IpNumber o)
Deprecated.Comparing this to an IpNumber instance is no use.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classNamedNumber<java.lang.Byte,IpNumber>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classNamedNumber<java.lang.Byte,IpNumber>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classNamedNumber<java.lang.Byte,IpNumber>
-
-