|
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 38 of file WorkFile.h.
|
protected |
Definition at line 41 of file WorkFile.h.
|
protected |
Definition at line 43 of file WorkFile.h.
| using ripple::detail::WorkFile::callback_type = std::function<void(error_code const&, response_type const&)> |
Definition at line 46 of file WorkFile.h.
| ripple::detail::WorkFile::WorkFile | ( | std::string const & | path, |
| boost::asio::io_context & | ios, | ||
| callback_type | cb | ||
| ) |
Definition at line 71 of file WorkFile.h.
| ripple::detail::WorkFile::~WorkFile | ( | ) |
Definition at line 82 of file WorkFile.h.
|
overridevirtual |
Implements ripple::detail::Work.
Definition at line 89 of file WorkFile.h.
|
overridevirtual |
Implements ripple::detail::Work.
Definition at line 106 of file WorkFile.h.
|
private |
Definition at line 63 of file WorkFile.h.
|
private |
Definition at line 64 of file WorkFile.h.
|
private |
Definition at line 65 of file WorkFile.h.
|
private |
Definition at line 66 of file WorkFile.h.