summaryrefslogtreecommitdiff
path: root/include/socketengines/socketengine_poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socketengines/socketengine_poll.h')
-rw-r--r--include/socketengines/socketengine_poll.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/socketengines/socketengine_poll.h b/include/socketengines/socketengine_poll.h
index 725ad225c..a99ce915c 100644
--- a/include/socketengines/socketengine_poll.h
+++ b/include/socketengines/socketengine_poll.h
@@ -53,14 +53,12 @@ public:
/** Delete a PollEngine
*/
virtual ~PollEngine();
- virtual bool AddFd(EventHandler* eh, bool writeFirst = false);
+ virtual bool AddFd(EventHandler* eh, int event_mask);
+ virtual void OnSetEvent(EventHandler* eh, int old_mask, int new_mask);
virtual EventHandler* GetRef(int fd);
- virtual int GetMaxFds();
- virtual int GetRemainingFds();
virtual bool DelFd(EventHandler* eh, bool force = false);
virtual int DispatchEvents();
virtual std::string GetName();
- virtual void WantWrite(EventHandler* eh);
};
/** Creates a SocketEngine