BitShares-Core  6.1.0
BitShares blockchain implementation and command-line interface software
Classes | Functions
fc::asio::detail Namespace Reference

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

Classes

struct  non_blocking
 
class  read_write_handler
 
class  read_write_handler_with_buffer
 

Functions

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 48 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 67 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 44 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 73 of file asio.cpp.