aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs/Connection.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-01 22:10:46 +0200
committerMax Kellermann <max@duempel.org>2014-10-01 22:10:46 +0200
commit0470f648c6512d7a8a6fc5f66e760dfc85f2c8aa (patch)
tree11e267b8f2e483d37371e6805263194fc549b58e /src/lib/nfs/Connection.hxx
parent777360149d45cc07c40b53a1c1b7ab903b2b8b84 (diff)
downloadmpd-0470f648c6512d7a8a6fc5f66e760dfc85f2c8aa.tar.gz
mpd-0470f648c6512d7a8a6fc5f66e760dfc85f2c8aa.tar.xz
mpd-0470f648c6512d7a8a6fc5f66e760dfc85f2c8aa.zip
lib/nfs/Connection: add method GetEventLoop()
Diffstat (limited to 'src/lib/nfs/Connection.hxx')
-rw-r--r--src/lib/nfs/Connection.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx
index 4b570513e..020dc6302 100644
--- a/src/lib/nfs/Connection.hxx
+++ b/src/lib/nfs/Connection.hxx
@@ -133,6 +133,10 @@ protected:
virtual void OnNfsConnectionError(Error &&error) = 0;
private:
+ EventLoop &GetEventLoop() {
+ return SocketMonitor::GetEventLoop();
+ }
+
void DestroyContext();
bool MountInternal(Error &error);
void BroadcastMountSuccess();