rippled
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_service &io_service, 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 58 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 60 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 61 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_service &  io_service,
Handler &&  handler 
)

Definition at line 134 of file Checker.h.

◆ ~async_op()

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

Definition at line 146 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 63 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 64 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 65 of file Checker.h.