diff options
Diffstat (limited to 'include/socketengines/socketengine_iocp.h')
-rw-r--r-- | include/socketengines/socketengine_iocp.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/socketengines/socketengine_iocp.h b/include/socketengines/socketengine_iocp.h index dd34227d3..0f4f6bdf5 100644 --- a/include/socketengines/socketengine_iocp.h +++ b/include/socketengines/socketengine_iocp.h @@ -131,7 +131,7 @@ public: * @param eh EventHandler to add * @return True if success, false if no room */ - bool AddFd(EventHandler* eh, bool writeFirst = false); + bool AddFd(EventHandler* eh, int event_mask); /** Gets the maximum number of file descriptors that this engine can handle. * @return The number of file descriptors @@ -166,10 +166,7 @@ public: */ std::string GetName(); - /** Queues a Write event on the specified event handler. - * @param eh EventHandler that needs data sent on - */ - void WantWrite(EventHandler* eh); + void OnSetEvent(EventHandler* eh, int old_mask, int new_mask); /** Posts a completion event on the specified socket. * @param eh EventHandler for message |