Simulator-based IO that implements a few interfaces from boost::asio::io_service. More...
#include <global.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.hpp.
void nfd::detail::SimulatorIo::post | ( | const std::function< void()> & | callback | ) |
Definition at line 35 of file global.cpp.
References nfd::getScheduler().
Referenced by nfd::face::StreamTransport< Protocol >::doClose(), nfd::face::EthernetTransport::doClose(), nfd::face::DatagramTransport< Protocol, Addressing >::doClose(), nfd::face::TcpTransport::handleError(), nfd::face::InternalForwarderTransport::receivePacket(), nfd::face::InternalClientTransport::receivePacket(), nfd::runOnMainIoService(), and nfd::runOnRibIoService().
void nfd::detail::SimulatorIo::dispatch | ( | const std::function< void()> & | callback | ) |
Definition at line 41 of file global.cpp.
References nfd::getScheduler().