diff options
Diffstat (limited to 'include/socketengines/socketengine_epoll.h')
-rw-r--r-- | include/socketengines/socketengine_epoll.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/socketengines/socketengine_epoll.h b/include/socketengines/socketengine_epoll.h index 3e08179ae..08a9b1bcc 100644 --- a/include/socketengines/socketengine_epoll.h +++ b/include/socketengines/socketengine_epoll.h @@ -31,6 +31,7 @@ private: /** These are used by epoll() to hold socket events */ struct epoll_event* events; + int EngineHandle; public: /** Create a new EPollEngine */ @@ -38,13 +39,11 @@ public: /** Delete an EPollEngine */ virtual ~EPollEngine(); - virtual bool AddFd(EventHandler* eh, bool writeFirst = false); - virtual int GetMaxFds(); - virtual int GetRemainingFds(); + virtual bool AddFd(EventHandler* eh, int event_mask); + virtual void OnSetEvent(EventHandler* eh, int old_mask, int new_mask); virtual bool DelFd(EventHandler* eh, bool force = false); virtual int DispatchEvents(); virtual std::string GetName(); - virtual void WantWrite(EventHandler* eh); }; /** Creates a SocketEngine |