yass.radio
Enum Reception.ReceptionState

java.lang.Object
  extended by java.lang.Enum<Reception.ReceptionState>
      extended by yass.radio.Reception.ReceptionState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Reception.ReceptionState>, State
Enclosing class:
Reception

public static enum Reception.ReceptionState
extends java.lang.Enum<Reception.ReceptionState>
implements State

Possible states which this Reception may take


Enum Constant Summary
ABORTED
          Data receipt was abandoned prior to completion
FAILED
          Data receipt attempt terminated unsuccessfully
RECEIVING
          Currently receiving data
SUCCEEDED
          Data receipt attempt completed successfully
UNINITIALISED
          Not ready to begin receiving data
 
Method Summary
static Reception.ReceptionState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Reception.ReceptionState[] 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

UNINITIALISED

public static final Reception.ReceptionState UNINITIALISED
Not ready to begin receiving data


RECEIVING

public static final Reception.ReceptionState RECEIVING
Currently receiving data


SUCCEEDED

public static final Reception.ReceptionState SUCCEEDED
Data receipt attempt completed successfully


FAILED

public static final Reception.ReceptionState FAILED
Data receipt attempt terminated unsuccessfully


ABORTED

public static final Reception.ReceptionState ABORTED
Data receipt was abandoned prior to completion

Method Detail

values

public static Reception.ReceptionState[] 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 (Reception.ReceptionState c : Reception.ReceptionState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Reception.ReceptionState valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null