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>
- Enclosing class:
- InboundEstablishState
public static enum InboundEstablishState.InboundState extends Enum<InboundEstablishState.InboundState>
-
-
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
All Methods Static Methods Concrete Methods 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 Detail
-
IB_STATE_UNKNOWN
public static final InboundEstablishState.InboundState IB_STATE_UNKNOWN
nothin known yet
-
IB_STATE_REQUEST_RECEIVED
public static final InboundEstablishState.InboundState IB_STATE_REQUEST_RECEIVED
we have received an initial request
-
IB_STATE_CREATED_SENT
public static final InboundEstablishState.InboundState IB_STATE_CREATED_SENT
we have sent a signed creation packet
-
IB_STATE_CONFIRMED_PARTIALLY
public static final InboundEstablishState.InboundState 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
public static final InboundEstablishState.InboundState IB_STATE_CONFIRMED_COMPLETELY
we have all the confirmation packets
-
IB_STATE_FAILED
public static final InboundEstablishState.InboundState IB_STATE_FAILED
we are explicitly failing it
-
IB_STATE_COMPLETE
public static final InboundEstablishState.InboundState IB_STATE_COMPLETE
Successful completion, PeerState created and added to transport
-
-
Method Detail
-
values
public static InboundEstablishState.InboundState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InboundEstablishState.InboundState c : InboundEstablishState.InboundState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InboundEstablishState.InboundState valueOf(String name)
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
-
-