48 UInt32 recoveryQueueMaxSize_;
49 std::string instrumentCache_;
61 , recoveryQueueMaxSize_(1000000)
101 return tradeProcessing_;
109 tradeProcessing_ = strategy;
117 return bookManagement_;
124 return bookManagement_;
141 return recoveryQueueMaxSize_;
150 recoveryQueueMaxSize_ = queueMaxSize;
172 return instrumentCache_;
179 const std::string& filename)
181 instrumentCache_ = filename;
188 return debugLogging_;
196 return debugLogging_;
218 ONIXS_CMEMDH_EXPORTED
232 toStr(str, settings);
238 ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_LTWT_CLASS
MemoryPoolSettings & memoryPool()
Handler's configuration settings.
const std::string & instrumentCache() const
void tradeProcessing(TradeProcessing::Enum strategy)
Defines how trades are processed.
void recoveryQueueMaxSize(UInt32 queueMaxSize)
UInt32 ChannelId
Identifies CME channel.
~HandlerSettings()
Cleans everything up.
std::string toStr(const HandlerSettings &settings)
Serializes BBA tracking parameters into string.
const BookManagement & bookManagement() const
Reference to parameters affecting book management.
ONIXS_CMEMDH_EXPORTED std::string makeInstrumentCacheFilename(ChannelId)
Makes filename for instrument cache for the given channel.
const MemoryPoolSettings & memoryPool() const
void channel(ChannelId value)
Identifies CME market data channel.
BookManagement & bookManagement()
Reference to parameters affecting book management.
UInt32 recoveryQueueMaxSize() const
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
void instrumentCache(const std::string &filename)
FeedSettings & feeds()
Reference to parameters related with feeds.
const HandlerDebugLoggingSettings & debugLogging() const
Parameters affecting logging at debug level.
const FeedSettings & feeds() const
Reference to parameters related with feeds.
Parameters affecting book management machinery.
HandlerSettings()
Initializes parameters with default values.
TradeProcessing::Enum tradeProcessing() const
Indicates how trades are processed.
Parameters affecting what's logged at a debug level.
Defines different ways trades are processed.
ChannelId channel() const
Identifies CME market data channel.
HandlerDebugLoggingSettings & debugLogging()
Parameters affecting logging at debug level.
#define ONIXS_CMEMDH_NAMESPACE_END