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()
std::vector< std::string > HandlerLogs
Ordered list of logs to be replayed.
void ONIXS_MTS_BONDVISION_SDP_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)
unsigned int packetReplayDelay
ReplayListener * listener
Instance to notify about replay events.
ReplayOptions()
Initializes instance with default values.