44 virtual void onReplayError (
const std::string& errorDescription) = 0;
47 virtual void onReplayFinished() = 0;
56 void ONIXS_FENICSUST_BIMP_API
gatherLogs(HandlerLogs* gatheredLogs,
const std::string& root);
75 : listener(ONIXS_FENICSUST_BIMP_NULLPTR)
76 , packetReplayDelay(0)
84 : listener(ONIXS_FENICSUST_BIMP_NULLPTR)
85 , packetReplayDelay(0)
virtual ~ReplayListener()
void ONIXS_FENICSUST_BIMP_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.
std::vector< std::string > HandlerLogs
Ordered list of logs to be replayed.
ReplayOptions()
Initializes instance with default values.
ReplayListener * listener
Instance to notify about replay events.
ReplayOptions(const std::string &logsRoot)
Listening interface for log replay-related events.
unsigned int packetReplayDelay
Defines ONIXS_FENICSUST_BIMP_API which affect logs replay.