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::FaceTable::addReserved(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::doClose(), nfd::face::EthernetTransport::doClose(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::doClose(), nfd::face::InternalForwarderTransport::receivePacket(), nfd::face::InternalClientTransport::receivePacket(), nfd::runOnMainIoService(), nfd::runOnRibIoService(), and nfd::RibManager::slFindAnn().
void nfd::detail::SimulatorIo::dispatch | ( | const std::function< void()> & | callback | ) |
Definition at line 41 of file global.cpp.
References nfd::getScheduler().