mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 16:56:48 +00:00
updates asio transport endpoint with a few more io_service convenience pass through methods references #211
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user