OnixS C++ FIX Engine  4.11.0
API Documentation
Memory-based Session Storage

Memory-based session storage is typically used to maintain a high-performance FIX session when persisting of a sessions state and messages to the file system is not required.

Switching to Memory-based Session Storage

To create such a session, the storageType parameter in the OnixS::FIX::Session::Session constructor has to be set to the OnixS::FIX::SessionStorageType::MemoryBased value.


Session initiator("SenderCompId", "TargetCompId", ProtocolVersion::FIX_42, &listener, SessionStorageType::MemoryBased);