Documentation

Swift_Plugins_BandwidthMonitorPlugin
in package
implements Swift_Events_SendListener, Swift_Events_CommandListener, Swift_Events_ResponseListener, Swift_InputByteStream

Reduces network flooding when sending large amounts of mail.

Tags
author

Chris Corbyn

Interfaces, Classes and Traits

Swift_Events_SendListener
Listens for Messages being sent from within the Transport system.
Swift_Events_CommandListener
Listens for Transports to send commands to the server.
Swift_Events_ResponseListener
Listens for responses from a remote SMTP server.
Swift_InputByteStream
An abstract means of writing data.

Table of Contents

$in  : int
The incoming traffic counter.
$mirrors  : mixed
Bound byte streams
$out  : int
The outgoing traffic counter.
beforeSendPerformed()  : mixed
Not used.
bind()  : mixed
Attach $is to this stream.
commandSent()  : mixed
Invoked immediately following a command being sent.
commit()  : mixed
Not used.
flushBuffers()  : mixed
Not used.
getBytesIn()  : int
Get the total number of bytes received from the server.
getBytesOut()  : int
Get the total number of bytes sent to the server.
reset()  : mixed
Reset the internal counters to zero.
responseReceived()  : mixed
Invoked immediately following a response coming back.
sendPerformed()  : mixed
Invoked immediately after the Message is sent.
unbind()  : mixed
Remove an already bound stream.
write()  : int
Called when a message is sent so that the outgoing counter can be increased.

Properties

Methods

getBytesIn()

Get the total number of bytes received from the server.

public getBytesIn() : int
Return values
int

getBytesOut()

Get the total number of bytes sent to the server.

public getBytesOut() : int
Return values
int

write()

Called when a message is sent so that the outgoing counter can be increased.

public write(string $bytes) : int
Parameters
$bytes : string
Return values
int

Search results