27 :
std::runtime_error(msg + (code.value() ?
" (" + code.category().message(code.value()) +
")" :
""))
32 :
std::runtime_error(msg)
47 BOOST_ASSERT(receiveCallback !=
nullptr);
Copyright (c) 2013-2017 Regents of the University of California.
Error(const boost::system::error_code &code, const std::string &msg)
ReceiveCallback m_receiveCallback
boost::asio::io_service * m_ioService
function< void(const Block &wire)> ReceiveCallback
virtual void connect(boost::asio::io_service &ioService, const ReceiveCallback &receiveCallback)
asynchronously open the connection