diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-11 16:23:58 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-11 16:23:58 +0000 |
commit | d46fc56ef045dad7e11ebfd7532f098b76e1900e (patch) | |
tree | fa0a29097053d5ff67c01c5f4950eddc72ff2ba5 /include | |
parent | b55018d0f4517264ed1f169820de59f40f7f6c6e (diff) |
Document OnBufferFlushed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6660 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 7 |
1 files changed, 7 insertions, 0 deletions
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); }; |