client: make GetEventLoop() public

This commit is contained in:
Max Kellermann 2019-04-03 14:32:25 +02:00
parent f8570dd79f
commit c340485dd5
3 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,8 @@ public:
FullyBufferedSocket::Close();
}
using FullyBufferedSocket::GetEventLoop;
bool IsConnected() const noexcept {
return FullyBufferedSocket::IsDefined();
}

View File

@ -42,6 +42,7 @@ public:
ScheduleRead();
}
using SocketMonitor::GetEventLoop;
using SocketMonitor::IsDefined;
using SocketMonitor::Close;

View File

@ -37,6 +37,7 @@ public:
output(normal_size, peak_size) {
}
using BufferedSocket::GetEventLoop;
using BufferedSocket::IsDefined;
void Close() noexcept {