Basic IRC message parsing/sending

This commit is contained in:
Florent Le Coz
2013-11-02 16:04:10 +01:00
parent 64c1b28ce2
commit 4027ef8c00
4 changed files with 129 additions and 5 deletions
+10
View File
@@ -44,6 +44,16 @@ public:
* Remove (and stop managing) a SocketHandler, designed by the given socket_t.
*/
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.