From c340485dd59a7cb5235c41eca82331d6daf09723 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 3 Apr 2019 14:32:25 +0200 Subject: [PATCH] client: make GetEventLoop() public --- src/client/Client.hxx | 2 ++ src/event/BufferedSocket.hxx | 1 + src/event/FullyBufferedSocket.hxx | 1 + 3 files changed, 4 insertions(+) diff --git a/src/client/Client.hxx b/src/client/Client.hxx index dafb961af..bd3cfc4a5 100644 --- a/src/client/Client.hxx +++ b/src/client/Client.hxx @@ -106,6 +106,8 @@ public: FullyBufferedSocket::Close(); } + using FullyBufferedSocket::GetEventLoop; + bool IsConnected() const noexcept { return FullyBufferedSocket::IsDefined(); } diff --git a/src/event/BufferedSocket.hxx b/src/event/BufferedSocket.hxx index 112ae829e..983d0c19c 100644 --- a/src/event/BufferedSocket.hxx +++ b/src/event/BufferedSocket.hxx @@ -42,6 +42,7 @@ public: ScheduleRead(); } + using SocketMonitor::GetEventLoop; using SocketMonitor::IsDefined; using SocketMonitor::Close; diff --git a/src/event/FullyBufferedSocket.hxx b/src/event/FullyBufferedSocket.hxx index 2351ebf14..96f1ff5e0 100644 --- a/src/event/FullyBufferedSocket.hxx +++ b/src/event/FullyBufferedSocket.hxx @@ -37,6 +37,7 @@ public: output(normal_size, peak_size) { } + using BufferedSocket::GetEventLoop; using BufferedSocket::IsDefined; void Close() noexcept {