com.activequant.transport
Enum ETransportType

java.lang.Object
  extended by java.lang.Enum<ETransportType>
      extended by com.activequant.transport.ETransportType
All Implemented Interfaces:
Serializable, Comparable<ETransportType>

public enum ETransportType
extends Enum<ETransportType>

Holds an enumeration of possible transport types. The framework provides the adequate transport on request through the ITransportFactory implementation.

Author:
ustaudinger

Enum Constant Summary
MARKET_DATA
           
REF_DATA
          transport can be of type reference data or market data.
TIME
           
TRAD_DATA
           
 
Method Summary
static ETransportType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ETransportType[] 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

REF_DATA

public static final ETransportType REF_DATA
transport can be of type reference data or market data.


MARKET_DATA

public static final ETransportType MARKET_DATA

TRAD_DATA

public static final ETransportType TRAD_DATA

TIME

public static final ETransportType TIME
Method Detail

values

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

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

valueOf

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


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.