OnixS C++ CME iLink 3 Binary Order Entry Handler  1.15.0
API Documentation
Memory-based Session Storage

Memory-based session storage is typically used to maintain a high-performance iLink 3 session when the persisting of a session 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::CME::iLink3::Session::Session constructor has to be set to the OnixS::CME::iLink3::SessionStorageType::MemoryBased value.

For these purposes, storageType parameter of the OnixS::CME::iLink3::Session::Session constructor is available. Once OnixS::CME::iLink3::SessionStorageType::MemoryBased value will be specified as value for the storageType parameter, session-related data will be logged into memory.


Session session(sessionSettings, MarketSegmentId, ONIXS_ILINK3_NULLPTR, SessionStorageType::MemoryBased);