Package net.i2p.router.transport.udp
Enum OutboundEstablishState.OutboundState
java.lang.Object
java.lang.Enum<OutboundEstablishState.OutboundState>
net.i2p.router.transport.udp.OutboundEstablishState.OutboundState
- All Implemented Interfaces:
Serializable
,Comparable<OutboundEstablishState.OutboundState>
,java.lang.constant.Constable
- Enclosing class:
- OutboundEstablishState
public static enum OutboundEstablishState.OutboundState extends Enum<OutboundEstablishState.OutboundState>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description OB_STATE_CONFIRMED_COMPLETELY
we have received a data packetOB_STATE_CONFIRMED_PARTIALLY
we have sent one or more confirmation packetsOB_STATE_CREATED_RECEIVED
we have received a signed creation packetOB_STATE_INTRODUCED
RelayResponse receivedOB_STATE_PENDING_INTRO
we need to have someone introduce us to the peer, but haven't received a RelayResponse yetOB_STATE_REQUEST_SENT
we have sent an initial requestOB_STATE_UNKNOWN
nothin sent yetOB_STATE_VALIDATION_FAILED
SessionConfirmed failed validation -
Method Summary
Modifier and Type Method Description static OutboundEstablishState.OutboundState
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutboundEstablishState.OutboundState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OB_STATE_UNKNOWN
nothin sent yet -
OB_STATE_REQUEST_SENT
we have sent an initial request -
OB_STATE_CREATED_RECEIVED
we have received a signed creation packet -
OB_STATE_CONFIRMED_PARTIALLY
we have sent one or more confirmation packets -
OB_STATE_CONFIRMED_COMPLETELY
we have received a data packet -
OB_STATE_PENDING_INTRO
we need to have someone introduce us to the peer, but haven't received a RelayResponse yet -
OB_STATE_INTRODUCED
RelayResponse received -
OB_STATE_VALIDATION_FAILED
SessionConfirmed failed validation
-
-
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
-