updates asio transport endpoint with a few more io_service convenience pass through methods references #211

This commit is contained in:
Peter Thorson
2013-04-20 07:25:34 -05:00
parent 4bc4518df0
commit 4ada7f9b0b

View File

@@ -241,8 +241,8 @@ public:
}
/// wraps the run method of the internal io_service object
void run() {
m_io_service->run();
std::size_t run() {
return m_io_service->run();
}
/// wraps the stop method of the internal io_service object
@@ -250,6 +250,16 @@ public:
m_io_service->stop();
}
/// wraps the poll method of the internal io_service object
std::size_t poll() {
return m_io_service->poll();
}
/// wraps the poll_one method of the internal io_service object
std::size_t poll_one() {
return m_io_service->poll_one();
}
/// wraps the reset method of the internal io_service object
void reset() {
m_io_service->reset();