Reduces network flooding when sending large amounts of mail.
package | Swift |
---|---|
subpackage | Plugins |
author | Chris Corbyn |
bind(\Swift_InputByteStream $is)
The stream acts as an observer, receiving all data that is written. All write() and flushBuffers() operations will be mirrored.
commandSent(\Swift_Events_CommandEvent $evt)
getBytesIn() : int
int
getBytesOut() : int
int
reset()
responseReceived(\Swift_Events_ResponseEvent $evt)
sendPerformed(\Swift_Events_SendEvent $evt)
unbind(\Swift_InputByteStream $is)
If $is is not bound, no errors will be raised. If the stream currently has any buffered data it will be written to $is before unbinding occurs.
write(string $bytes) : int
Writing may not happen immediately if the stream chooses to buffer. If you want to write these bytes with immediate effect, call commit() after calling write().
This method returns the sequence ID of the write (i.e. 1 for first, 2 for second, etc etc).
string
\Swift_IoException |
---|
int
$_in : int
access | private |
---|
$_mirrors
$_out : int
access | private |
---|