lib/nfs/Connection: make GetEventLoop() public
This commit is contained in:
parent
b1a252a64d
commit
60512ffa09
@ -141,6 +141,10 @@ public:
|
|||||||
return export_name.c_str();
|
return export_name.c_str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EventLoop &GetEventLoop() {
|
||||||
|
return SocketMonitor::GetEventLoop();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ensure that the connection is established. The connection
|
* Ensure that the connection is established. The connection
|
||||||
* is kept up while at least one #NfsLease is registered.
|
* is kept up while at least one #NfsLease is registered.
|
||||||
@ -165,10 +169,6 @@ protected:
|
|||||||
virtual void OnNfsConnectionError(Error &&error) = 0;
|
virtual void OnNfsConnectionError(Error &&error) = 0;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
EventLoop &GetEventLoop() {
|
|
||||||
return SocketMonitor::GetEventLoop();
|
|
||||||
}
|
|
||||||
|
|
||||||
void DestroyContext();
|
void DestroyContext();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user