forwardConnectivity Configuration   Table of ContentWorking with Booksforward
Replaying Log Files

This section provides information about log replay feature supported by the OnixS ICE iMpact Multicast Price Feed Handler.

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 HandlerSettings created and AddLogReplayEntry(String) should be used to pass path(s) to log file(s). The constructor Handler(HandlerSettings) 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 ErrorOccurred. When replay log is finished the Handler calls the LogReplayFinished.