com.teraspaces.qwfix
Enum FIXServiceStatus

java.lang.Object
  extended by java.lang.Enum<FIXServiceStatus>
      extended by com.teraspaces.qwfix.FIXServiceStatus
All Implemented Interfaces:
Serializable, Comparable<FIXServiceStatus>

public enum FIXServiceStatus
extends Enum<FIXServiceStatus>

Describes the current status of a FIXEngine or FIXSession.

See Also:
FIXScheduler

Enum Constant Summary
ABORTED
          The FIXEngine or FIXSession is manually aborted.
PENDING
          The FIXEngine or FIXSession is in pending state.
STARTED
          The FIXEngine or FIXSession is started and running.
STOPPED
          The FIXEngine or FIXSession is stopped normally based on the FIXScheduler associated.
 
Method Summary
static FIXServiceStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FIXServiceStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PENDING

public static final FIXServiceStatus PENDING
The FIXEngine or FIXSession is in pending state. The scheduler is has not been triggered.


STARTED

public static final FIXServiceStatus STARTED
The FIXEngine or FIXSession is started and running. The current time is within the interval defined in the associate FIXScheduler.


STOPPED

public static final FIXServiceStatus STOPPED
The FIXEngine or FIXSession is stopped normally based on the FIXScheduler associated. The current time is out of the interval defined in the associate FIXScheduler.


ABORTED

public static final FIXServiceStatus ABORTED
The FIXEngine or FIXSession is manually aborted.

Method Detail

values

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

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

valueOf

public static FIXServiceStatus 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