public static enum OutboundEstablishState.OutboundState extends Enum<OutboundEstablishState.OutboundState>
| Enum Constant and Description |
|---|
OB_STATE_CONFIRMED_COMPLETELYwe have received a data packet |
OB_STATE_CONFIRMED_PARTIALLYwe have sent one or more confirmation packets |
OB_STATE_CREATED_RECEIVEDwe have received a signed creation packet |
OB_STATE_INTRODUCEDRelayResponse received |
OB_STATE_NEEDS_TOKENSSU2: We don't have a token |
OB_STATE_PENDING_INTROwe need to have someone introduce us to the peer, but haven't received a RelayResponse yet |
OB_STATE_REQUEST_SENTwe have sent an initial request |
OB_STATE_REQUEST_SENT_NEW_TOKENSSU2: We have sent a session request after receiving a retry |
OB_STATE_RETRY_RECEIVEDSSU2: We have received a retry |
OB_STATE_TOKEN_REQUEST_SENTSSU2: We have sent a token request |
OB_STATE_UNKNOWNnothin sent yet |
OB_STATE_VALIDATION_FAILEDSessionConfirmed failed validation |
| Modifier and Type | Method and 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. |
public static final OutboundEstablishState.OutboundState OB_STATE_CONFIRMED_COMPLETELY
public static final OutboundEstablishState.OutboundState OB_STATE_CONFIRMED_PARTIALLY
public static final OutboundEstablishState.OutboundState OB_STATE_CREATED_RECEIVED
public static final OutboundEstablishState.OutboundState OB_STATE_INTRODUCED
public static final OutboundEstablishState.OutboundState OB_STATE_NEEDS_TOKEN
public static final OutboundEstablishState.OutboundState OB_STATE_PENDING_INTRO
public static final OutboundEstablishState.OutboundState OB_STATE_REQUEST_SENT
public static final OutboundEstablishState.OutboundState OB_STATE_REQUEST_SENT_NEW_TOKEN
public static final OutboundEstablishState.OutboundState OB_STATE_RETRY_RECEIVED
public static final OutboundEstablishState.OutboundState OB_STATE_TOKEN_REQUEST_SENT
public static final OutboundEstablishState.OutboundState OB_STATE_UNKNOWN
public static final OutboundEstablishState.OutboundState OB_STATE_VALIDATION_FAILED
public static OutboundEstablishState.OutboundState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static OutboundEstablishState.OutboundState[] values()
for (OutboundEstablishState.OutboundState c : OutboundEstablishState.OutboundState.values()) System.out.println(c);