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
-
Enum Constant Summary
Enum Constants Enum Constant Description IB_STATE_COMPLETE
Successful completion, PeerState created and added to transportIB_STATE_CONFIRMED_COMPLETELY
we have all the confirmation packetsIB_STATE_CONFIRMED_PARTIALLY
we have received one but not all the confirmation packets This never happens in practice - see below.IB_STATE_CREATED_SENT
we have sent a signed creation packetIB_STATE_FAILED
we are explicitly failing itIB_STATE_REQUEST_RECEIVED
we have received an initial requestIB_STATE_UNKNOWN
nothin known yet -
Method Summary
Modifier and Type Method Description static InboundEstablishState.InboundState
valueOf(String name)
Returns 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
-
-
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
-