OnixS C++ FIX Engine  3.24.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, dictionary, &listener, SessionStorageType::MemoryBased);