To initialize the Engine services the OnixS::FIX::Engine::init method must be used. configFile
parameter points to the Engine's configuration file. This method must be called before all other methods.
To shutdown the Engine OnixS::FIX::Engine::shutdown method must be used.
The following example demonstrates the Engine's initialization and shutdown:
#include <OnixS/FIXEngine.h> using namespace OnixS::FIX; try { Engine::init(); // Session-related logic goes here. Engine::shutdown(); } catch(const EngineException& ex) { cout << "Exception: " << ex.what() << endl; }