OnixS C++ FIX Engine 2.79.1.0
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 OnixS::FIX::Session::Session constructor has to be set to OnixS::FIX::Session::MemoryBasedStorage value.

Example

Session initiator(TARGET_COMP_ID, SENDER_COMP_ID, VERSION, &listener, Session::MemoryBasedStorage);