Class Swift_Plugins_BandwidthMonitorPlugin
Reduces network flooding when sending large amounts of mail.
- Swift_Plugins_BandwidthMonitorPlugin implements Swift_Events_SendListener, Swift_Events_CommandListener, Swift_Events_ResponseListener, Swift_InputByteStream
Direct known subclasses
Package: Swift\Plugins
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Plugins/BandwidthMonitorPlugin.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Plugins/BandwidthMonitorPlugin.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
#
responseReceived(
Invoked immediately following a response coming back. |
public
integer
|
#
write( string $bytes )
Called when a message is sent so that the outgoing counter can be increased. |
public
|
|
public
|
#
bind(
Attach $is to this stream. The stream acts as an observer, receiving all data
that is written. All |
public
|
#
unbind(
Remove an already bound stream. 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. |
public
|
|
public
integer
|
|
public
integer
|
|
public
|
Magic methods summary
Properties summary
private
integer
|
$_out |
#
The outgoing traffic counter. |
private
integer
|
$_in |
#
The incoming traffic counter. |
private
array
|
$_mirrors |
#
Bound byte streams |