lib/nfs/Connection: make GetEventLoop() public

This commit is contained in:
Max Kellermann 2014-10-06 08:47:10 +02:00
parent b1a252a64d
commit 60512ffa09

View File

@ -141,6 +141,10 @@ public:
return export_name.c_str();
}
EventLoop &GetEventLoop() {
return SocketMonitor::GetEventLoop();
}
/**
* Ensure that the connection is established. The connection
* is kept up while at least one #NfsLease is registered.
@ -165,10 +169,6 @@ protected:
virtual void OnNfsConnectionError(Error &&error) = 0;
private:
EventLoop &GetEventLoop() {
return SocketMonitor::GetEventLoop();
}
void DestroyContext();
/**