From 18c4b536f2ad721be5787f77176ef96298063bf2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jan 2013 14:22:58 +0100 Subject: event/ServerSocket: add method GetEventLoop() --- src/event/ServerSocket.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/event') diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx index ec922d97f..600cdf8a7 100644 --- a/src/event/ServerSocket.hxx +++ b/src/event/ServerSocket.hxx @@ -49,6 +49,10 @@ public: ServerSocket(EventLoop &_loop); ~ServerSocket(); + EventLoop &GetEventLoop() { + return loop; + } + private: OneServerSocket &AddAddress(const sockaddr &address, size_t length); -- cgit v1.2.3