OnixS::SURF::MarketData::Handler
constructor accepts instance of the OnixS::SURF::MarketData::HandlerSettings
class which defines values for various parameters that affect Handler behavior. The section below describes the most important parameters.
By default, the Handler logs all important aspects of its activity while processing market data. Therefore, it must know where on local filesystem it can store this kind of information. OnixS::SURF::MarketData::HandlerSettings::logDirectory
parameter value must be defined to point the Handler in which directory it can place its log files.
Handler needs a license for successful execution. If the Handler is not able to find a valid license it will throw an exception at the initialization stage.
OnixS::SURF::MarketData::HandlerSettings
structure exposes OnixS::SURF::MarketData::HandlerSettings::licenseDirectory
parameter which allows to instruct the Handler where to look for a valid license. By default, the Handler looks for a license in the current directory for the application which uses the Handler.
Following example demonstrates how to setup primary settings for the Handler: