MPD
0.20.18
|
Utility class to implement a blocking NFS call using the libnfs async API. More...
#include <Blocking.hxx>
Public Member Functions | |
BlockingNfsOperation (NfsConnection &_connection) | |
void | Run () |
Throws std::runtime_error on error. More... | |
Protected Member Functions | |
virtual void | Start ()=0 |
virtual void | HandleResult (unsigned status, void *data)=0 |
Protected Attributes | |
NfsConnection & | connection |
Utility class to implement a blocking NFS call using the libnfs async API.
The actual method call is deferred to the EventLoop thread, and method Run() waits for completion.
Definition at line 38 of file Blocking.hxx.
|
inline |
Definition at line 53 of file Blocking.hxx.
|
protectedpure virtual |
void BlockingNfsOperation::Run | ( | ) |
Throws std::runtime_error on error.
|
protectedpure virtual |
|
protected |
Definition at line 50 of file Blocking.hxx.