diff options
Diffstat (limited to 'src/socketengines')
-rw-r--r-- | src/socketengines/socketengine_epoll.cpp | 6 | ||||
-rw-r--r-- | src/socketengines/socketengine_kqueue.cpp | 6 | ||||
-rw-r--r-- | src/socketengines/socketengine_poll.cpp | 6 | ||||
-rw-r--r-- | src/socketengines/socketengine_ports.cpp | 6 | ||||
-rw-r--r-- | src/socketengines/socketengine_select.cpp | 6 |
5 files changed, 0 insertions, 30 deletions
diff --git a/src/socketengines/socketengine_epoll.cpp b/src/socketengines/socketengine_epoll.cpp index 09fa918c6..800cc7657 100644 --- a/src/socketengines/socketengine_epoll.cpp +++ b/src/socketengines/socketengine_epoll.cpp @@ -49,7 +49,6 @@ public: virtual void OnSetEvent(EventHandler* eh, int old_mask, int new_mask); virtual void DelFd(EventHandler* eh); virtual int DispatchEvents(); - virtual std::string GetName(); }; EPollEngine::EPollEngine() : events(1) @@ -255,11 +254,6 @@ int EPollEngine::DispatchEvents() return i; } -std::string EPollEngine::GetName() -{ - return "epoll"; -} - SocketEngine* CreateSocketEngine() { return new EPollEngine; diff --git a/src/socketengines/socketengine_kqueue.cpp b/src/socketengines/socketengine_kqueue.cpp index 07ea19d9d..53bd741f0 100644 --- a/src/socketengines/socketengine_kqueue.cpp +++ b/src/socketengines/socketengine_kqueue.cpp @@ -51,7 +51,6 @@ public: void OnSetEvent(EventHandler* eh, int old_mask, int new_mask); virtual void DelFd(EventHandler* eh); virtual int DispatchEvents(); - virtual std::string GetName(); virtual void RecoverFromFork(); }; @@ -255,11 +254,6 @@ int KQueueEngine::DispatchEvents() return i; } -std::string KQueueEngine::GetName() -{ - return "kqueue"; -} - SocketEngine* CreateSocketEngine() { return new KQueueEngine; diff --git a/src/socketengines/socketengine_poll.cpp b/src/socketengines/socketengine_poll.cpp index 2919988c0..53953626f 100644 --- a/src/socketengines/socketengine_poll.cpp +++ b/src/socketengines/socketengine_poll.cpp @@ -60,7 +60,6 @@ public: virtual void OnSetEvent(EventHandler* eh, int old_mask, int new_mask); virtual void DelFd(EventHandler* eh); virtual int DispatchEvents(); - virtual std::string GetName(); }; PollEngine::PollEngine() : events(1), fd_mappings(1) @@ -246,11 +245,6 @@ int PollEngine::DispatchEvents() return i; } -std::string PollEngine::GetName() -{ - return "poll"; -} - SocketEngine* CreateSocketEngine() { return new PollEngine; diff --git a/src/socketengines/socketengine_ports.cpp b/src/socketengines/socketengine_ports.cpp index 098e75116..74c36712b 100644 --- a/src/socketengines/socketengine_ports.cpp +++ b/src/socketengines/socketengine_ports.cpp @@ -54,7 +54,6 @@ public: virtual void OnSetEvent(EventHandler* eh, int old_mask, int new_mask); virtual void DelFd(EventHandler* eh); virtual int DispatchEvents(); - virtual std::string GetName(); }; PortsEngine::PortsEngine() : events(1) @@ -194,11 +193,6 @@ int PortsEngine::DispatchEvents() return (int)i; } -std::string PortsEngine::GetName() -{ - return "ports"; -} - SocketEngine* CreateSocketEngine() { return new PortsEngine; diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp index 82fe0bb6b..e9d7a9660 100644 --- a/src/socketengines/socketengine_select.cpp +++ b/src/socketengines/socketengine_select.cpp @@ -41,7 +41,6 @@ public: virtual void DelFd(EventHandler* eh); void OnSetEvent(EventHandler* eh, int, int); virtual int DispatchEvents(); - virtual std::string GetName(); }; SelectEngine::SelectEngine() @@ -173,11 +172,6 @@ int SelectEngine::DispatchEvents() return sresult; } -std::string SelectEngine::GetName() -{ - return "select"; -} - SocketEngine* CreateSocketEngine() { return new SelectEngine; |