72 void ONIXS_EUREX_EMDI_API
gatherFiles(
FilesList* gatheredFiles,
const std::string& root,
const std::string& extension);
114 ReplayOptions (
const std::string& filesRoot,
const std::string& filesExtention =
".log")
124 ONIXS_EUREX_EMDI_API
static ReplayListener* defaultReplayListener();
131 explicit NoDelayReplay(
const std::string& filesRoot,
const std::string& filesExtention =
".log");
141 explicit OriginalDelayReplay(
const std::string& filesRoot,
const std::string& filesExtention =
".log");
151 explicit X2SpeedReplay(
const std::string& filesRoot,
const std::string& filesExtention =
".log");
Listening interface for log replay-related events.
virtual void onReplayFinished()=0
Is called once the replay is finished.
virtual void onReplayError(const std::string &errorDescription)=0
Is called once error occurs while replaying.
virtual ~ReplayListener()
std::vector< std::string > FilesList
void gatherFiles(FilesList *gatheredFiles, const std::string &root, const std::string &extension)
Gathers files which are stored in a given folder.
void gatherLogs(FilesList *gatheredLogs, const std::string &root)
Gathers log files which are stored in a given folder.
NoDelayReplay(const std::string &filesRoot, const std::string &filesExtention=".log")
Initializes with all the files which are available and stored in a given folder.
NoDelayReplay()
Initializes instance with default values.
OriginalDelayReplay()
Initializes instance with default values.
OriginalDelayReplay(const std::string &filesRoot, const std::string &filesExtention=".log")
Initializes with all the files which are available and stored in a given folder.
@ ConstantPacketReplayDelay
@ NaturalPacketReplayDelay
ReplayMode::Enum replayMode
Replay mode. The default value is ReplayMode::ConstantPacketReplayDelay.
unsigned int packetReplayDelay
ReplayListener * listener
Instance to notify about replay events.
float playSpeedMultiplier
ReplayOptions(const std::string &filesRoot, const std::string &filesExtention=".log")
Initializes with all the files which are available and stored in a given folder.
ReplayOptions()
Initializes instance with default values.
X2SpeedReplay()
Initializes instance with default values.
X2SpeedReplay(const std::string &filesRoot, const std::string &filesExtention=".log")
Initializes with all the files which are available and stored in a given folder.