| 
    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 39 of file BasePeer.h.
      
  | 
  protected | 
Definition at line 42 of file BasePeer.h.
      
  | 
  protected | 
Definition at line 43 of file BasePeer.h.
      
  | 
  protected | 
Definition at line 44 of file BasePeer.h.
      
  | 
  protected | 
Definition at line 45 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 78 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 101 of file BasePeer.h.
      
  | 
  private | 
Definition at line 69 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 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 50 of file BasePeer.h.
      
  | 
  protected | 
Definition at line 51 of file BasePeer.h.
      
  | 
  protected | 
Definition at line 53 of file BasePeer.h.
      
  | 
  protected | 
Definition at line 54 of file BasePeer.h.