|
rippled
|
#include <WorkFile.h>


Public Types | |
| using | callback_type = std::function< void(error_code const &, response_type const &)> |
Public Member Functions | |
| WorkFile (std::string const &path, boost::asio::io_context &ios, callback_type cb) | |
| ~WorkFile () | |
| void | run () override |
| void | cancel () override |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
Protected Types | |
| using | error_code = boost::system::error_code |
| using | response_type = std::string |
Private Attributes | |
| std::string | path_ |
| callback_type | cb_ |
| boost::asio::io_context & | ios_ |
| boost::asio::strand< boost::asio::io_context::executor_type > | strand_ |
Definition at line 19 of file WorkFile.h.
|
protected |
Definition at line 22 of file WorkFile.h.
|
protected |
Definition at line 24 of file WorkFile.h.
| using ripple::detail::WorkFile::callback_type = std::function<void(error_code const&, response_type const&)> |
Definition at line 27 of file WorkFile.h.
| ripple::detail::WorkFile::WorkFile | ( | std::string const & | path, |
| boost::asio::io_context & | ios, | ||
| callback_type | cb | ||
| ) |
Definition at line 52 of file WorkFile.h.
| ripple::detail::WorkFile::~WorkFile | ( | ) |
Definition at line 63 of file WorkFile.h.
|
overridevirtual |
Implements ripple::detail::Work.
Definition at line 70 of file WorkFile.h.
|
overridevirtual |
Implements ripple::detail::Work.
Definition at line 87 of file WorkFile.h.
|
private |
Definition at line 44 of file WorkFile.h.
|
private |
Definition at line 45 of file WorkFile.h.
|
private |
Definition at line 46 of file WorkFile.h.
|
private |
Definition at line 47 of file WorkFile.h.