OnixS ICE iMpact Multicast Feed Handler for C++  3.13.0.0
Replaying Log Files

What is log replay?

Log replay future provides ability to save time and money when to pay for connection to the Production Environment and this takes a lot of money. Instead this Handler can record all events occurring on the Exchange and in the future be able to play them repeatedly. All you need to do - save log files.

Log replay settings

Before using a Handler to play the log files, it is necessary to prepare the appropriate settings. The instance of OnixS::ICE::iMpact::MarketData::HandlerSettings created and OnixS::ICE::iMpact::MarketData::HandlerSettings::logs should be filled by passing only path(s) to log file(s). The Handler constructor OnixS::ICE::iMpact::MarketData::Handler::Handler takes this settings and handler reads all Base64-based data from the log file and processes these data as data received from the network.

Log replay events

During log replay the Handler may cause errors. If this happens Handler calls the special callback OnixS::ICE::iMpact::MarketData::ErrorListener::onError. When replay log is finished the Handler calls the OnixS::ICE::iMpact::MarketData::LogReplayListener::onReplayFinished.