Enum Class Timer
- All Implemented Interfaces:
Serializable,Comparable<Timer>,Constable
The timers of a connection, kept in a
TimerTable.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe end of the closing or draining period (RFC 9000 section 10.2): the connection is gone.The idle timeout (RFC 9000 section 10.1): the connection is silently closed.When to send a PING to keep the connection alive.When old keys (0-RTT or the previous 1-RTT generation) are discarded.Time-threshold loss detection, or the probe timeout (RFC 9002 section 6.2).When an ACK is due becausemax_ack_delayexpired (RFC 9000 section 13.2.1).When pacing allows the next packet.When a client sends its probe of a new path again, or gives up on it.When a server's validation of the peer's new path is abandoned, and the connection goes back to the previous path.When to retire old connection IDs and push new ones with NEW_CONNECTION_ID. -
Method Summary
-
Enum Constant Details
-
LOSS_DETECTION
Time-threshold loss detection, or the probe timeout (RFC 9002 section 6.2). -
IDLE
The idle timeout (RFC 9000 section 10.1): the connection is silently closed. -
CLOSE
The end of the closing or draining period (RFC 9000 section 10.2): the connection is gone. -
KEY_DISCARD
When old keys (0-RTT or the previous 1-RTT generation) are discarded. -
PATH_VALIDATION
When a server's validation of the peer's new path is abandoned, and the connection goes back to the previous path. -
PATH_PROBE
When a client sends its probe of a new path again, or gives up on it. -
KEEP_ALIVE
When to send a PING to keep the connection alive. -
PACING
When pacing allows the next packet. -
PUSH_NEW_CID
When to retire old connection IDs and push new ones with NEW_CONNECTION_ID. -
MAX_ACK_DELAY
When an ACK is due becausemax_ack_delayexpired (RFC 9000 section 13.2.1).
-
-
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
-