|
itch-mold-replay 1.0
Time-accurate NASDAQ TotalView-ITCH 5.0 replay over MoldUDP64
|
A MoldUDP64 server that replays NASDAQ TotalView-ITCH 5.0 files. More...
#include <server.h>
Classes | |
| struct | Config |
| Aggregate for configuration of all server components. More... | |
Public Member Functions | |
| Server (const Config &cfg) | |
| Constructs server ready to start. | |
| void | start () |
| Starts downstream replay and retransmission feeds. | |
| void | wait_for_downstream () |
| Blocks caller until downstream replay finishes. | |
| void | stop () |
| Stop all feeds early (before downstream reaches end of file). | |
| ~Server () | |
| Server (const Server &)=delete | |
| Server (Server &&)=delete | |
| Server & | operator= (const Server &)=delete |
| Server & | operator= (Server &&)=delete |
A MoldUDP64 server that replays NASDAQ TotalView-ITCH 5.0 files.
|
explicit |
Constructs server ready to start.
| std::invalid_arugment | if configuration passed is invalid |
| std::system_error | if system calls to setup server fail |
| imr::Server::~Server | ( | ) |
|
delete |
|
delete |
| void imr::Server::start | ( | ) |
Starts downstream replay and retransmission feeds.
Downstreams and retransmission feeds run in background threads until downstream reaches end of file and finishes sending downstream packets
| void imr::Server::wait_for_downstream | ( | ) |
Blocks caller until downstream replay finishes.
| void imr::Server::stop | ( | ) |
Stop all feeds early (before downstream reaches end of file).