44 virtual void onReplayError (
const std::string& errorDescription) = 0;
47 virtual void onReplayFinished() = 0;
56 void ONIXS_CBOECFE_PITCH_API
gatherLogs(HandlerLogs* gatheredLogs,
const std::string& root);
75 : listener(ONIXS_BATS_PITCH_NULLPTR)
76 , packetReplayDelay(0)
84 : listener(ONIXS_BATS_PITCH_NULLPTR)
85 , packetReplayDelay(0)
ReplayOptions()
Initializes instance with default values.
std::vector< std::string >::iterator HandlerLogsEntry
Read-write iterator over ordered list of logs to be replayed.
ReplayListener * listener
Instance to notify about replay events.
unsigned int packetReplayDelay
Listening interface for log replay-related events.
Defines ONIXS_CBOECFE_PITCH_API which affect logs replay.
void ONIXS_CBOECFE_PITCH_API gatherLogs(HandlerLogs *gatheredLogs, const std::string &root)
Gathers log files logs which are stored in a given folder.
virtual ~ReplayListener()
std::vector< std::string > HandlerLogs
Ordered list of logs to be replayed.
ReplayOptions(const std::string &logsRoot)