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