net.i2p.router.transport.udp
Enum InboundEstablishState.InboundState

java.lang.Object
  extended by java.lang.Enum<InboundEstablishState.InboundState>
      extended by 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
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

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 name
NullPointerException - if the argument is null