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
Swift_Plugins_ThrottlerPlugin
Package: Swift\Plugins
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Plugins/BandwidthMonitorPlugin.php
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Plugins/BandwidthMonitorPlugin.php
public
|
|
public
|
|
public
|
|
public
|
#
responseReceived(
Invoked immediately following a response coming back. |
public
integer
|
|
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
|
private
integer
|
$_out
The outgoing traffic counter. |
#
0
|
private
integer
|
$_in
The incoming traffic counter. |
#
0
|
private
array
|
$_mirrors
Bound byte streams |
#
array()
|