|
rippled
|
#include <BasePeer.h>


Public Member Functions | |
| BasePeer (Port const &port, Handler &handler, boost::asio::executor const &executor, endpoint_type remote_address, beast::Journal journal) | |
| void | close () override |
| io_list & | ios () |
| Return the io_list associated with the work. | |
Protected Types | |
| using | clock_type = std::chrono::system_clock |
| using | error_code = boost::system::error_code |
| using | endpoint_type = boost::asio::ip::tcp::endpoint |
| using | waitable_timer = boost::asio::basic_waitable_timer< clock_type > |
Protected Attributes | |
| Port const & | port_ |
| Handler & | handler_ |
| endpoint_type | remote_address_ |
| beast::WrappedSink | sink_ |
| beast::Journal const | j_ |
| boost::asio::executor_work_guard< boost::asio::executor > | work_ |
| boost::asio::strand< boost::asio::executor > | strand_ |
Private Member Functions | |
| Impl & | impl () |
| template<class = void> | |
| void | destroy () |
Private Attributes | |
| io_list * | ios_ = nullptr |
Definition at line 20 of file BasePeer.h.
|
protected |
Definition at line 23 of file BasePeer.h.
|
protected |
Definition at line 24 of file BasePeer.h.
|
protected |
Definition at line 25 of file BasePeer.h.
|
protected |
Definition at line 26 of file BasePeer.h.
| ripple::BasePeer< Handler, Impl >::BasePeer | ( | Port const & | port, |
| Handler & | handler, | ||
| boost::asio::executor const & | executor, | ||
| endpoint_type | remote_address, | ||
| beast::Journal | journal | ||
| ) |
Definition at line 59 of file BasePeer.h.
|
overridevirtual |
Implements ripple::io_list::work.
Reimplemented in ripple::BaseWSPeer< Handler, Impl >, ripple::BaseWSPeer< Handler, PlainWSPeer< Handler > >, and ripple::BaseWSPeer< Handler, SSLWSPeer< Handler > >.
Definition at line 82 of file BasePeer.h.
|
private |
Definition at line 50 of file BasePeer.h.
|
privateinherited |
|
inherited |
Return the io_list associated with the work.
Requirements: The call to io_list::emplace to create the work has already returned.
|
protected |
Definition at line 28 of file BasePeer.h.
|
protected |
Definition at line 29 of file BasePeer.h.
|
protected |
Definition at line 30 of file BasePeer.h.
|
protected |
Definition at line 31 of file BasePeer.h.
|
protected |
Definition at line 32 of file BasePeer.h.
|
protected |
Definition at line 34 of file BasePeer.h.
|
protected |
Definition at line 35 of file BasePeer.h.