|
rippled
|


Public Types | |
| using | callback_type = std::function< void(error_code const &, response_type &&)> |
Public Member Functions | |
| WorkBase (std::string const &host, std::string const &path, std::string const &port, boost::asio::io_service &ios, callback_type cb) | |
| ~WorkBase () | |
| Impl & | impl () |
| void | run () override |
| void | cancel () override |
| void | fail (error_code const &ec) |
| void | onResolve (error_code const &ec, resolver_type::iterator it) |
| void | onStart () |
| void | onRequest (error_code const &ec) |
| void | onResponse (error_code const &ec) |
Protected Types | |
| using | error_code = boost::system::error_code |
| using | socket_type = boost::asio::ip::tcp::socket |
| using | endpoint_type = boost::asio::ip::tcp::endpoint |
| using | resolver_type = boost::asio::ip::tcp::resolver |
| using | query_type = resolver_type::query |
| using | request_type = boost::beast::http::request< boost::beast::http::empty_body > |
Protected Attributes | |
| std::string | host_ |
| std::string | path_ |
| std::string | port_ |
| callback_type | cb_ |
| boost::asio::io_service & | ios_ |
| boost::asio::io_service::strand | strand_ |
| resolver_type | resolver_ |
| socket_type | socket_ |
| request_type | req_ |
| response_type | res_ |
| boost::beast::multi_buffer | read_buf_ |
Private Member Functions | |
| void | close () |
Definition at line 36 of file WorkBase.h.
|
protected |
Definition at line 39 of file WorkBase.h.
| using ripple::detail::WorkBase< Impl >::callback_type = std::function<void(error_code const&, response_type&&)> |
Definition at line 43 of file WorkBase.h.
|
protected |
Definition at line 46 of file WorkBase.h.
|
protected |
Definition at line 47 of file WorkBase.h.
|
protected |
Definition at line 48 of file WorkBase.h.
|
protected |
Definition at line 49 of file WorkBase.h.
|
protected |
Definition at line 51 of file WorkBase.h.
| ripple::detail::WorkBase< Impl >::WorkBase | ( | std::string const & | host, |
| std::string const & | path, | ||
| std::string const & | port, | ||
| boost::asio::io_service & | ios, | ||
| callback_type | cb | ||
| ) |
Definition at line 109 of file WorkBase.h.
| ripple::detail::WorkBase< Impl >::~WorkBase |
Definition at line 127 of file WorkBase.h.
| Impl& ripple::detail::WorkBase< Impl >::impl | ( | ) |
Definition at line 75 of file WorkBase.h.
|
overridevirtual |
Implements ripple::detail::Work.
Definition at line 137 of file WorkBase.h.
|
overridevirtual |
Implements ripple::detail::Work.
Definition at line 154 of file WorkBase.h.
| void ripple::detail::WorkBase< Impl >::fail | ( | error_code const & | ec | ) |
Definition at line 169 of file WorkBase.h.
| void ripple::detail::WorkBase< Impl >::onResolve | ( | error_code const & | ec, |
| resolver_type::iterator | it | ||
| ) |
Definition at line 180 of file WorkBase.h.
| void ripple::detail::WorkBase< Impl >::onStart |
Definition at line 195 of file WorkBase.h.
| void ripple::detail::WorkBase< Impl >::onRequest | ( | error_code const & | ec | ) |
Definition at line 214 of file WorkBase.h.
| void ripple::detail::WorkBase< Impl >::onResponse | ( | error_code const & | ec | ) |
Definition at line 231 of file WorkBase.h.
|
private |
Definition at line 244 of file WorkBase.h.
|
protected |
Definition at line 53 of file WorkBase.h.
|
protected |
Definition at line 54 of file WorkBase.h.
|
protected |
Definition at line 55 of file WorkBase.h.
|
protected |
Definition at line 56 of file WorkBase.h.
|
protected |
Definition at line 57 of file WorkBase.h.
|
protected |
Definition at line 58 of file WorkBase.h.
|
protected |
Definition at line 59 of file WorkBase.h.
|
protected |
Definition at line 60 of file WorkBase.h.
|
protected |
Definition at line 61 of file WorkBase.h.
|
protected |
Definition at line 62 of file WorkBase.h.
|
protected |
Definition at line 63 of file WorkBase.h.
1.8.17