MIRA
|
Methods for synchronously reading data using boost asio with timeout. More...
#include <boost/asio/deadline_timer.hpp>
#include <boost/optional.hpp>
#include <utils/Bind.h>
#include <utils/Time.h>
#include <error/Exceptions.h>
Go to the source code of this file.
Namespaces | |
boost | |
boost::asio | |
Functions | |
template<typename SyncReadStream , typename MutableBufferSequence > | |
std::size_t | read_some (SyncReadStream &s, const MutableBufferSequence &buffers, mira::Duration timeout) |
Read some data from the specified stream 's' into the given buffer 'buffers'. More... | |
template<typename SyncReadStream , typename MutableBufferSequence > | |
std::size_t | read_some (SyncReadStream &s, const MutableBufferSequence &buffers, mira::Duration timeout, system::error_code &ec) |
Read some data from the specified stream 's' into the given buffer 'buffers'. More... | |
Methods for synchronously reading data using boost asio with timeout.