Package net.i2p.router.transport.udp
Enum InboundEstablishState.InboundState
java.lang.Object
java.lang.Enum<InboundEstablishState.InboundState>
net.i2p.router.transport.udp.InboundEstablishState.InboundState
- All Implemented Interfaces:
Serializable
,Comparable<InboundEstablishState.InboundState>
,java.lang.constant.Constable
- Enclosing class:
InboundEstablishState
public static enum InboundEstablishState.InboundState
extends Enum<InboundEstablishState.InboundState>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSuccessful completion, PeerState created and added to transportwe have all the confirmation packetswe have received one but not all the confirmation packets This never happens in practice - see below.we have sent a signed creation packetwe are explicitly failing itSSU2: We have received a request but the token is badwe have received an initial requestSSU2: We have sent a retrySSU2: We have received a token requestnothin known yet -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static InboundEstablishState.InboundState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IB_STATE_UNKNOWN
nothin known yet -
IB_STATE_REQUEST_RECEIVED
we have received an initial request -
IB_STATE_CREATED_SENT
we have sent a signed creation packet -
IB_STATE_CONFIRMED_PARTIALLY
we have received one but not all the confirmation packets This never happens in practice - see below. -
IB_STATE_CONFIRMED_COMPLETELY
we have all the confirmation packets -
IB_STATE_FAILED
we are explicitly failing it -
IB_STATE_COMPLETE
Successful completion, PeerState created and added to transport -
IB_STATE_TOKEN_REQUEST_RECEIVED
SSU2: We have received a token request- Since:
- 0.9.54
-
IB_STATE_REQUEST_BAD_TOKEN_RECEIVED
SSU2: We have received a request but the token is bad- Since:
- 0.9.54
-
IB_STATE_RETRY_SENT
SSU2: We have sent a retry- Since:
- 0.9.54
-
-
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
-