diff options
Diffstat (limited to 'include/socketengines/socketengine_ports.h')
-rw-r--r-- | include/socketengines/socketengine_ports.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/socketengines/socketengine_ports.h b/include/socketengines/socketengine_ports.h index 03df456f2..be8c4bad2 100644 --- a/include/socketengines/socketengine_ports.h +++ b/include/socketengines/socketengine_ports.h @@ -42,9 +42,8 @@ public: /** Delete a PortsEngine */ virtual ~PortsEngine(); - virtual bool AddFd(EventHandler* eh, bool writeFirst = false); - virtual int GetMaxFds(); - virtual int GetRemainingFds(); + virtual bool AddFd(EventHandler* eh, int event_mask); + void OnSetEvent(EventHandler* eh, int old_event, int new_event); virtual bool DelFd(EventHandler* eh, bool force = false); virtual int DispatchEvents(); virtual std::string GetName(); |