Loading src/event/kqueue.cpp +13 −7 Changes for src/event/kqueue.cpp: 13 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -660,10 +660,10 @@ namespace netplus { // ------------------------------------------------------------ // eventapi dummies // ------------------------------------------------------------ void eventapi::RequestEvent(con&, const int, ULONG_PTR) {} void eventapi::ResponseEvent(con&, const int, ULONG_PTR) {} void eventapi::ConnectEvent(con&, const int, ULONG_PTR) {} void eventapi::DisconnectEvent(con&, const int, ULONG_PTR) {} void RequestEvent(con&, const int, ULONG_PTR) override {} void ResponseEvent(con&, const int, ULONG_PTR) override {} void ConnectEvent(con&, const int, ULONG_PTR) override {} void DisconnectEvent(con&, const int, ULONG_PTR) override {} // ------------------------------------------------------------ // Signal handler (NO LOCKED CLOSE!) Loading Loading @@ -698,9 +698,15 @@ namespace netplus { event::Running = false; } // ------------------------------------------------------------ // event class // ------------------------------------------------------------ // ============================================================ // event class (implementation of eventapi pure virtuals) // ============================================================ void RequestEvent(con&, const int, ULONG_PTR) override {} void ResponseEvent(con&, const int, ULONG_PTR) override {} void ConnectEvent(con&, const int, ULONG_PTR) override {} void DisconnectEvent(con&, const int, ULONG_PTR) override {} // event constructor and destructor event::event(std::vector<socket*> serversockets, int timeout) : _ServerSockets(serversockets), _Timeout(timeout) { Loading Loading
src/event/kqueue.cpp +13 −7 Changes for src/event/kqueue.cpp: 13 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -660,10 +660,10 @@ namespace netplus { // ------------------------------------------------------------ // eventapi dummies // ------------------------------------------------------------ void eventapi::RequestEvent(con&, const int, ULONG_PTR) {} void eventapi::ResponseEvent(con&, const int, ULONG_PTR) {} void eventapi::ConnectEvent(con&, const int, ULONG_PTR) {} void eventapi::DisconnectEvent(con&, const int, ULONG_PTR) {} void RequestEvent(con&, const int, ULONG_PTR) override {} void ResponseEvent(con&, const int, ULONG_PTR) override {} void ConnectEvent(con&, const int, ULONG_PTR) override {} void DisconnectEvent(con&, const int, ULONG_PTR) override {} // ------------------------------------------------------------ // Signal handler (NO LOCKED CLOSE!) Loading Loading @@ -698,9 +698,15 @@ namespace netplus { event::Running = false; } // ------------------------------------------------------------ // event class // ------------------------------------------------------------ // ============================================================ // event class (implementation of eventapi pure virtuals) // ============================================================ void RequestEvent(con&, const int, ULONG_PTR) override {} void ResponseEvent(con&, const int, ULONG_PTR) override {} void ConnectEvent(con&, const int, ULONG_PTR) override {} void DisconnectEvent(con&, const int, ULONG_PTR) override {} // event constructor and destructor event::event(std::vector<socket*> serversockets, int timeout) : _ServerSockets(serversockets), _Timeout(timeout) { Loading