input/async: add method GetEventLoop()

This commit is contained in:
Max Kellermann
2017-01-25 23:15:52 +01:00
parent 611ce6e756
commit ecbad638f1
2 changed files with 11 additions and 6 deletions

View File

@@ -80,6 +80,10 @@ public:
virtual ~AsyncInputStream();
EventLoop &GetEventLoop() {
return deferred_resume.GetEventLoop();
}
/* virtual methods from InputStream */
void Check() final;
bool IsEOF() final;