event/ServerSocket: add method GetEventLoop()

This commit is contained in:
Max Kellermann 2013-01-30 14:22:58 +01:00
parent fa51db449f
commit 18c4b536f2

View File

@ -49,6 +49,10 @@ public:
ServerSocket(EventLoop &_loop);
~ServerSocket();
EventLoop &GetEventLoop() {
return loop;
}
private:
OneServerSocket &AddAddress(const sockaddr &address, size_t length);