From d46fc56ef045dad7e11ebfd7532f098b76e1900e Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Mar 2007 16:23:58 +0000 Subject: Document OnBufferFlushed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6660 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index 793ccdc98..97529e313 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1351,6 +1351,13 @@ class Module : public Extensible */ virtual void OnGarbageCollect(); + /** Called whenever a user's write buffer has been completely sent. + * This is called when the user's write buffer is completely empty, and + * there are no more pending bytes to be written and no pending write events + * in the socket engine's queue. This may be used to refill the buffer with + * data which is being spooled in a controlled manner, e.g. LIST lines. + * @param user The user who's buffer is now empty. + */ virtual void OnBufferFlushed(userrec* user); }; -- cgit v1.3.1-10-gc9f91