Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.fxcm.fix
Class TradSesModeFactory

    java.lang.Object
      com.fxcm.fix.TradSesModeFactory

    public class TradSesModeFactory

extends Object

Valid codes of TradSesMode field.

Field Summary
`static ITradSesMode` | `PRODUCTION` Real/Production environment
`static ITradSesMode` | `SIMULATED` Simulated environment
`static ITradSesMode` | `TESTING` Demo/Testing environment

Constructor Summary
`TradSesModeFactory()`

Method Summary
`static ITradSesMode` | `toCode(int aCode)` Converts a status code to a fix object

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### TESTING

    public static final ITradSesMode TESTING

  Demo/Testing environment

### SIMULATED

    public static final ITradSesMode SIMULATED

  Simulated environment

### PRODUCTION

    public static final ITradSesMode PRODUCTION

  Real/Production environment

Constructor Detail

### TradSesModeFactory

    public TradSesModeFactory()

Method Detail

### toCode

    public static ITradSesMode toCode(int aCode)

  Converts a status code to a fix object

  Parameters:
    `aCode` - ``TRADSESMODE_*``
  Returns:
    trading session mode fix object

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 FXCM, LLC. All Rights Reserved.