Package com.kenai.constantine.platform
Enum Class IPProto
- All Implemented Interfaces:
Constant
,Serializable
,Comparable<IPProto>
,Constable
,Constant
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
defined()
Deprecated.final String
Deprecated.final int
intValue()
Deprecated.final long
Deprecated.final String
toString()
Deprecated.final int
value()
Deprecated.static final IPProto
valueOf
(int value) Deprecated.Returns the enum constant of this class with the specified name.static IPProto
Deprecated.Returns the enum constant of this class with the specified name.static IPProto[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IPPROTO_IP
Deprecated. -
IPPROTO_HOPOPTS
Deprecated. -
IPPROTO_ICMP
Deprecated. -
IPPROTO_IGMP
Deprecated. -
IPPROTO_IPIP
Deprecated. -
IPPROTO_TCP
Deprecated. -
IPPROTO_EGP
Deprecated. -
IPPROTO_PUP
Deprecated. -
IPPROTO_UDP
Deprecated. -
IPPROTO_IDP
Deprecated. -
IPPROTO_TP
Deprecated. -
IPPROTO_IPV6
Deprecated. -
IPPROTO_ROUTING
Deprecated. -
IPPROTO_FRAGMENT
Deprecated. -
IPPROTO_RSVP
Deprecated. -
IPPROTO_GRE
Deprecated. -
IPPROTO_ESP
Deprecated. -
IPPROTO_AH
Deprecated. -
IPPROTO_ICMPV6
Deprecated. -
IPPROTO_NONE
Deprecated. -
IPPROTO_DSTOPTS
Deprecated. -
IPPROTO_MTP
Deprecated. -
IPPROTO_ENCAP
Deprecated. -
IPPROTO_PIM
Deprecated. -
IPPROTO_COMP
Deprecated. -
IPPROTO_SCTP
Deprecated. -
IPPROTO_RAW
Deprecated. -
IPPROTO_MAX
Deprecated. -
__UNKNOWN_CONSTANT__
Deprecated.
-
-
Field Details
-
resolver
Deprecated.
-
-
Constructor Details
-
IPProto
private IPProto()Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public final int value()Deprecated. -
intValue
public final int intValue()Deprecated. -
longValue
public final long longValue()Deprecated. -
description
Deprecated. -
defined
public final boolean defined()Deprecated. -
toString
Deprecated. -
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-