Package jnr.constants.platform
Enum Class TCP
- All Implemented Interfaces:
Serializable
,Comparable<TCP>
,Constable
,Constant
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
defined()
final String
final int
intValue()
final long
final String
toString()
final int
value()
static TCP
valueOf
(long value) Returns the enum constant of this class with the specified name.static TCP
Returns the enum constant of this class with the specified name.static TCP[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TCP_MAX_SACK
-
TCP_MSS
-
TCP_MINMSS
-
TCP_MINMSSOVERLOAD
-
TCP_MAXWIN
-
TCP_MAX_WINSHIFT
-
TCP_MAXBURST
-
TCP_MAXHLEN
-
TCP_MAXOLEN
-
TCP_NODELAY
-
TCP_MAXSEG
-
TCP_NOPUSH
-
TCP_NOOPT
-
TCP_KEEPALIVE
-
TCP_NSTATES
-
TCP_RETRANSHZ
-
TCP_CORK
-
TCP_DEFER_ACCEPT
-
TCP_INFO
-
TCP_KEEPCNT
-
TCP_KEEPIDLE
-
TCP_KEEPINTVL
-
TCP_LINGER2
-
TCP_MD5SIG
-
TCP_QUICKACK
-
TCP_SYNCNT
-
TCP_WINDOW_CLAMP
-
TCP_FASTOPEN
-
TCP_CONGESTION
-
TCP_COOKIE_TRANSACTIONS
-
TCP_QUEUE_SEQ
-
TCP_REPAIR
-
TCP_REPAIR_OPTIONS
-
TCP_REPAIR_QUEUE
-
TCP_THIN_DUPACK
-
TCP_THIN_LINEAR_TIMEOUTS
-
TCP_TIMESTAMP
-
TCP_USER_TIMEOUT
-
__UNKNOWN_CONSTANT__
-
-
Method Details
-
values
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
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() -
intValue
public final int intValue() -
longValue
public final long longValue() -
description
-
defined
public final boolean defined() -
toString
-
valueOf
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
-