java.lang.Object
java.lang.Enum<OutboundEstablishState2.IntroState>
net.i2p.router.transport.udp.OutboundEstablishState2.IntroState
- All Implemented Interfaces:
Serializable, Comparable<OutboundEstablishState2.IntroState>, java.lang.constant.Constable
- Enclosing class:
OutboundEstablishState2
public static enum OutboundEstablishState2.IntroStateextends Enum<OutboundEstablishState2.IntroState>
Per-introducer introduction states.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWe got a rejection from this introducer.We got a rejection from Charlie via this introducer.We failed to connect to the introducer.We are connected to this introducer.We are connecting to the introducer.He disconnected from us along the way.Introducer has expired.Unspecified failure.We have the introducer RI.Nothing happened yet.This peer is not an introducer.We tried to lookup the introducer RI, no luck.Lookup for the introducer RI was sent.We rejected this introducer for some reason.We got a good relay response via this introducer.We sent the relay request to this introducer.We failed to get a relay response from this introducer.We got an accept from Charlie via this introducer.This peer is us.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OutboundEstablishState2.IntroState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
INTRO_STATE_INIT
Nothing happened yet.INTRO_STATE_LOOKUP_SENT
Lookup for the introducer RI was sent.INTRO_STATE_HAS_RI
We have the introducer RI.INTRO_STATE_CONNECTING
We are connecting to the introducer.INTRO_STATE_CONNECTED
We are connected to this introducer.INTRO_STATE_RELAY_REQUEST_SENT
We sent the relay request to this introducer.INTRO_STATE_RELAY_CHARLIE_ACCEPTED
We got a good relay response via this introducer.INTRO_STATE_EXPIRED
Introducer has expired.INTRO_STATE_LOOKUP_FAILED
We tried to lookup the introducer RI, no luck.INTRO_STATE_REJECTED
We rejected this introducer for some reason.INTRO_STATE_CONNECT_FAILED
We failed to connect to the introducer.INTRO_STATE_DISCONNECTED
He disconnected from us along the way.INTRO_STATE_RELAY_RESPONSE_TIMEOUT
We failed to get a relay response from this introducer.INTRO_STATE_BOB_REJECT
We got a rejection from this introducer.INTRO_STATE_CHARLIE_REJECT
We got a rejection from Charlie via this introducer.INTRO_STATE_FAILED
Unspecified failure.INTRO_STATE_INVALID
This peer is not an introducer.INTRO_STATE_US
This peer is us.INTRO_STATE_SUCCESS
We got an accept from Charlie via this introducer.
Constructor Details
IntroState
private IntroState()
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