diff options
Diffstat (limited to 'include/socketengines/socketengine_kqueue.h')
-rw-r--r-- | include/socketengines/socketengine_kqueue.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/socketengines/socketengine_kqueue.h b/include/socketengines/socketengine_kqueue.h index a09e93553..80993e2d4 100644 --- a/include/socketengines/socketengine_kqueue.h +++ b/include/socketengines/socketengine_kqueue.h @@ -42,9 +42,8 @@ public: /** Delete a KQueueEngine */ virtual ~KQueueEngine(); - virtual bool AddFd(EventHandler* eh, bool writeFirst = false); - virtual int GetMaxFds(); - virtual int GetRemainingFds(); + bool AddFd(EventHandler* eh, int event_mask); + 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(); |