OnixS C++ FIX Engine  4.4.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.

Example

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