java.lang.Object
java.lang.Enum<PeerState2.MigrationPendingDecision>
net.i2p.router.transport.udp.PeerState2.MigrationPendingDecision
- All Implemented Interfaces:
Serializable, Comparable<PeerState2.MigrationPendingDecision>, java.lang.constant.Constable
- Enclosing class:
PeerState2
Decision of the connection-migration classifier for MIGRATION_STATE_PENDING.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPacket from the current (pre-migration) remote host, cancel the migration.Migration timed out and must be reset to NONE.From the pending host and the retransmit interval has elapsed.From the pending host but within the retransmit interval, keep waiting.a third address entirely, do not switch.Method Summary
All MethodsModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PeerState2.MigrationPendingDecision[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
CANCEL
Packet from the current (pre-migration) remote host, cancel the migration.EXPIRED
Migration timed out and must be reset to NONE.RETRANSMIT
From the pending host and the retransmit interval has elapsed.STILL_WAITING
From the pending host but within the retransmit interval, keep waiting.THIRD_ADDRESS
a third address entirely, do not switch.
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