Clio develop
The XRP Ledger API server.
|
Sweep handler clearing context every sweep interval from config. More...
#include <IntervalSweepHandler.hpp>
Public Member Functions | |
IntervalSweepHandler (util::config::ClioConfigDefinition const &config, boost::asio::io_context &ctx, web::dosguard::BaseDOSGuard &dosGuard) | |
Construct a new interval-based sweep handler. | |
Sweep handler clearing context every sweep interval from config.
web::dosguard::IntervalSweepHandler::IntervalSweepHandler | ( | util::config::ClioConfigDefinition const & | config, |
boost::asio::io_context & | ctx, | ||
web::dosguard::BaseDOSGuard & | dosGuard ) |
Construct a new interval-based sweep handler.
config | Clio config to use |
ctx | The boost::asio::io_context to use |
dosGuard | The DOS guard to use |