OnixS C++ CME Market Data Handler  2.56.0.0
Public Member Functions | Public Attributes | List of all members
ReplayOptions Struct Reference

Defines parameters which affect logs replay. More...

Public Member Functions

 ReplayOptions ()
 Initializes instance with default values.
 
 ReplayOptions (const ChannelId &channel, const std::string &logsRoot)
 Initializes with all the logs which are available for given channel id and are stored in a given folder. More...
 
 ReplayOptions (const ChannelId &channel, const std::string &logsRoot, const std::string &logFileNamePrefix)
 Initializes with all the logs which are available for given channel id and are stored in a given folder with corresponding log file name prefix. More...
 

Public Attributes

HandlerLogs logs
 List of instruments logs to be replayed. More...
 
ReplayListenerlistener
 Instance to notify about replay events.
 

Detailed Description

Defines parameters which affect logs replay.

Constructor & Destructor Documentation

ReplayOptions ( const ChannelId channel,
const std::string &  logsRoot 
)

Initializes with all the logs which are available for given channel id and are stored in a given folder.

ReplayOptions ( const ChannelId channel,
const std::string &  logsRoot,
const std::string &  logFileNamePrefix 
)

Initializes with all the logs which are available for given channel id and are stored in a given folder with corresponding log file name prefix.

Member Data Documentation

HandlerLogs logs

List of instruments logs to be replayed.

Must be stored in 'oldest to recent' order.