Package net.i2p.router.transport.udp
Enum OutboundEstablishState2.IntroState
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.IntroState
extends Enum<OutboundEstablishState2.IntroState>
Per-introducer introduction states
- Since:
- 0.9.55
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionwe got a rejection from this introducerwe got a rejection from Charlie via this introducerwe failed to connect to the introducerwe are connected to this introducerwe are connecting to the introducerhe disconnected from us along the wayintroducer has expiredunspecified failurewe have the introducer RInothing happened yetthis peer is not an introducerwe tried to lookup the introducer RI, no lucklookup for the introducer RI was sentwe rejected this introducer for some reasonwe got a good relay response via this introducerwe sent the relay request to this introducerwe failed to get a relay response from this introducerwe got an accept from Charlie via this introducer -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static OutboundEstablishState2.IntroState[]
values()
Returns an array containing the constants of this enum type, 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_SUCCESS
we got an accept from Charlie via this introducer
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-