event/*Monitor: add method GetEventLoop()

This commit is contained in:
Max Kellermann
2013-08-08 21:49:17 +02:00
parent b63db1c1aa
commit 090bc6fa79
4 changed files with 16 additions and 1 deletions

View File

@@ -66,6 +66,10 @@ public:
~SocketMonitor();
EventLoop &GetEventLoop() {
return loop;
}
bool IsDefined() const {
return fd >= 0;
}