BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Functions
fc::asio::detail Namespace Reference

internal implementation types/methods for fc::asio More...


struct  non_blocking
class  read_write_handler
class  read_write_handler_with_buffer


void read_write_handler_ec (promise< size_t > *p, boost::system::error_code *oec, const boost::system::error_code &ec, size_t bytes_transferred)
void error_handler (const promise< void >::ptr &p, const boost::system::error_code &ec)
void error_handler_ec (promise< boost::system::error_code > *p, const boost::system::error_code &ec)
template<typename EndpointType , typename IteratorType >
void resolve_handler (const typename promise< std::vector< EndpointType > >::ptr &p, const boost::system::error_code &ec, IteratorType itr)

Detailed Description

internal implementation types/methods for fc::asio

Function Documentation

◆ error_handler()

void fc::asio::detail::error_handler ( const promise< void >::ptr &  p,
const boost::system::error_code &  ec 

Definition at line 77 of file asio.cpp.

◆ error_handler_ec()

void fc::asio::detail::error_handler_ec ( promise< boost::system::error_code > *  p,
const boost::system::error_code &  ec 

Definition at line 104 of file asio.cpp.

◆ read_write_handler_ec()

void fc::asio::detail::read_write_handler_ec ( promise< size_t > *  p,
boost::system::error_code *  oec,
const boost::system::error_code &  ec,
size_t  bytes_transferred 

Definition at line 72 of file asio.cpp.

◆ resolve_handler()

template<typename EndpointType , typename IteratorType >
void fc::asio::detail::resolve_handler ( const typename promise< std::vector< EndpointType > >::ptr &  p,
const boost::system::error_code &  ec,
IteratorType  itr 

Definition at line 110 of file asio.cpp.