Simulator-based IO that implements a few interfaces from boost::asio::io_service. More...
#include <global-io.hpp>
Public Member Functions | |
void | post (const std::function< void()> &callback) |
void | dispatch (const std::function< void()> &callback) |
Simulator-based IO that implements a few interfaces from boost::asio::io_service.
Definition at line 37 of file global-io.hpp.
void nfd::detail::SimulatorIo::post | ( | const std::function< void()> & | callback | ) |
Definition at line 34 of file global-io.cpp.
References nfd::scheduler::schedule().
Referenced by nfd::face::asyncReceive(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::doClose(), nfd::face::EthernetTransport::doClose(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::doClose(), nfd::face::TcpTransport::handleError(), nfd::runOnMainIoService(), and nfd::runOnRibIoService().
void nfd::detail::SimulatorIo::dispatch | ( | const std::function< void()> & | callback | ) |
Definition at line 40 of file global-io.cpp.
References nfd::scheduler::schedule().