#define ONIXS_EURONEXT_OPTIQMDG_NULLPTR
Listening interface for log replay-related events.
virtual void onReplayFinished()=0
Is called once all the logs are replayed.
virtual void onReplayError(const std::string &errorDescription)=0
Is called once error occurs while replaying logs.
virtual ~ReplayListener()
Deletion is not supposed through interface of this class.
std::vector< std::string > HandlerLogs
Ordered list of logs to be replayed.
void ONIXS_EURONEXT_OPTIQMDG_API gatherLogs(HandlerLogs *gatheredLogs, const std::string &root)
Gathers log files logs which are stored in a given folder.
std::vector< std::string >::iterator HandlerLogsEntry
Read-write iterator over ordered list of logs to be replayed.
ReplayOptions(const std::string &logsRoot)
Initializes with all the logs which are available and are stored in a given folder.
HandlerLogs logs
List of instruments logs to be replayed.
unsigned int packetReplayDelay
Specifies the time delay (milliseconds) between replayed packets.
ReplayListener * listener
Instance to notify about replay events.
ReplayOptions()
Initializes instance with default values.