![]() |
||
FIX Process |
||
About the FixProcess classFixProcess is an important singleton class in FF.FIX Engine that enables you to:
For further information on functionalities and usage of this class and your queries related to customization and interfacing, please write to info
|
||
For providing a FIX session persistence layer to your Initiator or Acceptor application, you need to initialize the FixProcess class once. The FF.FIX Engine flexibly supports both file and database persistence mechanism to maintain the FIX session state. //Create a FIX Persistence connection string for connecting to the database. //File based persistence //File based persistence |
||
The default copyright information mentions about First Futures Software. In your application, you may overwrite this information as given below: FixProcess.Instance.CopyRightText = "ABC Copyright..."; |
||
One major feature of the FixProcess class is that you can attach a plug-in based Session Alert Queue Handler to it and access the real-time events (like Inbound Message, Outbound Message, Error, Warning etc) and the FIX session states (like logging, logged, logging out, logged out, disconnected etc) through an external application for analysis. For more information, please contact info |
||
The default format for the session log file name is: <SenderCompID>.<TargetCompID> [dd.MM.yyyy HH.mm.ss.fff].log For example, you opted to use the default format for the session log file name and the session log file is based on the following data:
Then the default session log file name would be Initiator1.FFAcceptor [25.06.2008 17.53.00.718].log. The FixProcess class lets you select dot (.), hash (#), space ( ) or underscore (_) as the separator between the SenderCompID and TargetCompID in the session log file name using the eLogFileSTSeparator parameter in the following method: public void SetLogFileAttributes(eLogFileSTSeparator logFileSTSeparator, eDateFormat logFileDateFormat, eDateSeparator logFileDateSeparator)The default value for the eLogFileSTSeparator parameter is dot (.). Note that the eLogFileSTSeparator separator does not apply to the date that appears in the session log file name. |
||
The FixProcess class lets you select the date format and date separator in the session log file entries using the following method: public void SetLogFileAttributes(eLogFileSTSeparator logFileSTSeparator, eDateFormat logFileDateFormat, eDateSeparator logFileDateSeparator) The options for the eDateFormat parameter are ddMMyyyy, MMddyyyy, yyyyddMM and yyyyMMdd and its default value is ddMMyyyy. The options for the eDateSeparator parameter are hyphen (-), dot (.), slash (/) and none and its default value is hyphen (-). The following screenshot presents a view of a typical session log file having default values for the eLogFileSTSeparator, eDateFormat and eDateSeparator parameters: |
||