rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
ripple::PeerFinder::Checker< Protocol >::async_op< Handler > Struct Template Reference
Inheritance diagram for ripple::PeerFinder::Checker< Protocol >::async_op< Handler >:
Inheritance graph
[legend]
Collaboration diagram for ripple::PeerFinder::Checker< Protocol >::async_op< Handler >:
Collaboration graph
[legend]

Public Types

using socket_type = typename Protocol::socket
 
using endpoint_type = typename Protocol::endpoint
 

Public Member Functions

 async_op (Checker &owner, boost::asio::io_context &io_context, Handler &&handler)
 
 ~async_op ()
 
void stop () override
 
void operator() (error_code const &ec) override
 

Public Attributes

Checkerchecker_
 
socket_type socket_
 
Handler handler_
 

Detailed Description

template<class Protocol = boost::asio::ip::tcp>
template<class Handler>
struct ripple::PeerFinder::Checker< Protocol >::async_op< Handler >

Definition at line 38 of file Checker.h.

Member Typedef Documentation

◆ socket_type

template<class Protocol = boost::asio::ip::tcp>
template<class Handler >
using ripple::PeerFinder::Checker< Protocol >::async_op< Handler >::socket_type = typename Protocol::socket

Definition at line 40 of file Checker.h.

◆ endpoint_type

template<class Protocol = boost::asio::ip::tcp>
template<class Handler >
using ripple::PeerFinder::Checker< Protocol >::async_op< Handler >::endpoint_type = typename Protocol::endpoint

Definition at line 41 of file Checker.h.

Constructor & Destructor Documentation

◆ async_op()

template<class Protocol >
template<class Handler >
ripple::PeerFinder::Checker< Protocol >::async_op< Handler >::async_op ( Checker owner,
boost::asio::io_context &  io_context,
Handler &&  handler 
)

Definition at line 114 of file Checker.h.

◆ ~async_op()

template<class Protocol >
template<class Handler >
ripple::PeerFinder::Checker< Protocol >::async_op< Handler >::~async_op ( )

Definition at line 126 of file Checker.h.

Member Function Documentation

◆ stop()

template<class Protocol >
template<class Handler >
void ripple::PeerFinder::Checker< Protocol >::async_op< Handler >::stop ( )
overridevirtual

◆ operator()()

template<class Protocol >
template<class Handler >
void ripple::PeerFinder::Checker< Protocol >::async_op< Handler >::operator() ( error_code const &  ec)
overridevirtual

Member Data Documentation

◆ checker_

template<class Protocol = boost::asio::ip::tcp>
template<class Handler >
Checker& ripple::PeerFinder::Checker< Protocol >::async_op< Handler >::checker_

Definition at line 43 of file Checker.h.

◆ socket_

template<class Protocol = boost::asio::ip::tcp>
template<class Handler >
socket_type ripple::PeerFinder::Checker< Protocol >::async_op< Handler >::socket_

Definition at line 44 of file Checker.h.

◆ handler_

template<class Protocol = boost::asio::ip::tcp>
template<class Handler >
Handler ripple::PeerFinder::Checker< Protocol >::async_op< Handler >::handler_

Definition at line 45 of file Checker.h.