xrpld
Loading...
Searching...
No Matches
xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler > Struct Template Reference
Inheritance diagram for xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >:
Collaboration diagram for xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >:

Public Types

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

Public Member Functions

 AsyncOp (Checker &owner, boost::asio::io_context &ioContext, Handler &&handler)
 ~AsyncOp () override
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 xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >

Definition at line 35 of file Checker.h.

Member Typedef Documentation

◆ socket_type

template<class Protocol = boost::asio::ip::tcp>
template<class Handler>
using xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >::socket_type = Protocol::socket

Definition at line 37 of file Checker.h.

◆ endpoint_type

template<class Protocol = boost::asio::ip::tcp>
template<class Handler>
using xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >::endpoint_type = Protocol::endpoint

Definition at line 38 of file Checker.h.

Constructor & Destructor Documentation

◆ AsyncOp()

template<class Protocol>
template<class Handler>
xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >::AsyncOp ( Checker & owner,
boost::asio::io_context & ioContext,
Handler && handler )

Definition at line 110 of file Checker.h.

◆ ~AsyncOp()

template<class Protocol = boost::asio::ip::tcp>
template<class Handler>
xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >::~AsyncOp ( )
override

Definition at line 46 of file Checker.h.

Member Function Documentation

◆ stop()

template<class Protocol>
template<class Handler>
void xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >::stop ( )
overridevirtual

Implements xrpl::PeerFinder::Checker< Protocol >::BasicAsyncOp.

Definition at line 122 of file Checker.h.

◆ operator()()

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

Implements xrpl::PeerFinder::Checker< Protocol >::BasicAsyncOp.

Definition at line 131 of file Checker.h.

Member Data Documentation

◆ checker

template<class Protocol = boost::asio::ip::tcp>
template<class Handler>
Checker& xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >::checker

Definition at line 40 of file Checker.h.

◆ socket

template<class Protocol = boost::asio::ip::tcp>
template<class Handler>
socket_type xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >::socket

Definition at line 41 of file Checker.h.

◆ handler

template<class Protocol = boost::asio::ip::tcp>
template<class Handler>
Handler xrpl::PeerFinder::Checker< Protocol >::AsyncOp< Handler >::handler

Definition at line 42 of file Checker.h.