summaryrefslogtreecommitdiff
path: root/src/network/poller.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-11-02 16:04:10 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-11-02 16:04:10 +0100
commit4027ef8c00ee2a5b808c11c7f3ae50cda117d92a (patch)
treecce962840cc301e98a26ad4679b163f044db1af0 /src/network/poller.hpp
parent64c1b28ce211f899ca0fbcae5049532e129f19c1 (diff)
downloadbiboumi-4027ef8c00ee2a5b808c11c7f3ae50cda117d92a.tar.gz
biboumi-4027ef8c00ee2a5b808c11c7f3ae50cda117d92a.tar.bz2
biboumi-4027ef8c00ee2a5b808c11c7f3ae50cda117d92a.tar.xz
biboumi-4027ef8c00ee2a5b808c11c7f3ae50cda117d92a.zip
Basic IRC message parsing/sending
Diffstat (limited to 'src/network/poller.hpp')
-rw-r--r--src/network/poller.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/network/poller.hpp b/src/network/poller.hpp
index 46a184e..64e78e4 100644
--- a/src/network/poller.hpp
+++ b/src/network/poller.hpp
@@ -45,6 +45,16 @@ public:
*/
void remove_socket_handler(const socket_t socket);
/**
+ * Signal the poller that he needs to watch for send events for the given
+ * SocketHandler.
+ */
+ void watch_send_events(const SocketHandler* const socket_handler);
+ /**
+ * Signal the poller that he needs to stop watching for send events for
+ * this SocketHandler.
+ */
+ void stop_watching_send_events(const SocketHandler* const socket_handler);
+ /**
* Wait for all watched events, and call the SocketHandlers' callbacks
* when one is ready.
*/