All OnixS C++ FIX Engine classes are located in the OnixS::FIX namespace. Public API is gathered in the OnixS/FIXEngine.h - the primary header file for inclusion.
- Note
- This header file does not include version-specific header files with tag and enum value constants because these files are too large and can increase the compilation time. Therefore, one needs to include the corresponding version-specific header file explicitly (e.g., OnixS/FIXEngine/FIX/FIX44.h) to use tags or enum values constant.
The typical way of using C++ FIX Engine is as follows:
- Initialize the Engine.
- Create the Session object.
- Establish the FIX session as Initiator or Acceptor.
- Send and receive application-level FIX messages.
- Disconnect the session.
- Shutdown the Engine.
Continue Learning