|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<InboundEstablishState.InboundState>
net.i2p.router.transport.udp.InboundEstablishState.InboundState
public static enum InboundEstablishState.InboundState
Enum Constant Summary | |
---|---|
IB_STATE_COMPLETE
Successful completion, PeerState created and added to transport |
|
IB_STATE_CONFIRMED_COMPLETELY
we have all the confirmation packets |
|
IB_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 packet |
|
IB_STATE_FAILED
we are explicitly failing it |
|
IB_STATE_REQUEST_RECEIVED
we have received an initial request |
|
IB_STATE_UNKNOWN
nothin known yet |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final InboundEstablishState.InboundState IB_STATE_UNKNOWN
public static final InboundEstablishState.InboundState IB_STATE_REQUEST_RECEIVED
public static final InboundEstablishState.InboundState IB_STATE_CREATED_SENT
public static final InboundEstablishState.InboundState IB_STATE_CONFIRMED_PARTIALLY
public static final InboundEstablishState.InboundState IB_STATE_CONFIRMED_COMPLETELY
public static final InboundEstablishState.InboundState IB_STATE_FAILED
public static final InboundEstablishState.InboundState IB_STATE_COMPLETE
Method Detail |
---|
public static InboundEstablishState.InboundState[] values()
for (InboundEstablishState.InboundState c : InboundEstablishState.InboundState.values()) System.out.println(c);
public static InboundEstablishState.InboundState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |