Selecting Session Storage
The session storage is used to store inbound and outbound messages and session state data.
OnixS .NET FIX Engine supports the following session storage types:
Storage | Description |
---|---|
File-based Session Storage | Messages and state data are stored in files in StorageDirectory; writing is done during the execution of the Send(IMessage) method. |
Memory Based Session Storage | Messages and state data are stored only in memory. |
Asynchronous File Based Session Storage | Messages and state data are stored in files in StorageDirectory; writing is done in a separate thread. |
Pluggable Session Storage | Custom session storage. |
File-based Session Storage is the default storage type.
To specify the storage type use the storageType
parameter of the
Session(string, string, ProtocolVersion, bool, SessionStorageType, string) constructor.