FIX Engine.
Public Member Functions | |
int | getListenPort () const |
const std::string & | getLogDirectory () const |
Timestamp | getLicenseExpirationDate () const |
void | registerListener (IEngineListener *listener) |
void | unregisterListener () |
Static Public Member Functions | |
static Engine * | init (int listenPort=0) |
static Engine * | init (const std::string &configFile) |
static Engine * | initFromString (const std::string &configuration) |
static Engine * | init (const EngineSettings &settings) |
static void | shutdown () |
static Engine * | instance () |
static bool | isInitialized () |
Friends | |
class | Message |
int getListenPort | ( | ) | const |
Returns the listen port.
The FIX Engine listens on this port for incoming connections.
const std::string& getLogDirectory | ( | ) | const |
static Engine* init | ( | int | listenPort = 0 | ) | [static] |
Initializes the FIX Engine.
listenPort | The engine listens on this port for incoming connections. If '0' then only session-initiators can be created. If '-1' then the telecommunication level is disabled and only message parsing/assembling can be used. |
static Engine* init | ( | const EngineSettings & | settings | ) | [static] |
static Engine* init | ( | const std::string & | configFile | ) | [static] |
Initializes the FIX Engine.
configFile | Configuration file. |
static Engine* initFromString | ( | const std::string & | configuration | ) | [static] |
Initializes the FIX Engine.
configuration | Configuration string. |
static Engine* instance | ( | ) | [static] |
Returns the Engine instance.
EngineException | if the FIX Engine has not been initialized yet. |
void registerListener | ( | IEngineListener * | listener | ) |
Registers the Engine listener.
Exception | if the listener is already registered. |