rippled
|
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. More... | |
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_ |
const beast::Journal | 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 37 of file BasePeer.h.
|
protected |
Definition at line 40 of file BasePeer.h.
|
protected |
Definition at line 41 of file BasePeer.h.
|
protected |
Definition at line 42 of file BasePeer.h.
|
protected |
Definition at line 43 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 76 of file BasePeer.h.
|
overridevirtual |
Implements ripple::io_list::work.
Reimplemented in ripple::BaseWSPeer< Handler, Impl >, ripple::BaseWSPeer< Handler, SSLWSPeer< Handler > >, and ripple::BaseWSPeer< Handler, PlainWSPeer< Handler > >.
Definition at line 99 of file BasePeer.h.
|
private |
Definition at line 67 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 45 of file BasePeer.h.
|
protected |
Definition at line 46 of file BasePeer.h.
|
protected |
Definition at line 47 of file BasePeer.h.
|
protected |
Definition at line 48 of file BasePeer.h.
|
protected |
Definition at line 49 of file BasePeer.h.
|
protected |
Definition at line 51 of file BasePeer.h.
|
protected |
Definition at line 52 of file BasePeer.h.