[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/mp-includes/Swiftmailer/classes/Swift/Transport/ -> LoadBalancedTransport.php (summary)

(no description)

File Size: 166 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Transport_LoadBalancedTransport:: (10 methods):

Class: Swift_Transport_LoadBalancedTransport  - X-Ref

Redundantly and rotationally uses several Transports when sending.

__construct()   X-Ref
Creates a new LoadBalancedTransport.

setTransports(array $transports)   X-Ref
Set $transports to delegate to.

param: Swift_Transport[] $transports

getTransports()   X-Ref
Get $transports to delegate to.

return: Swift_Transport[]

isStarted()   X-Ref
Test if this Transport mechanism has started.

return: bool

start()   X-Ref
Start this Transport mechanism.

stop()   X-Ref
Stop this Transport mechanism.

send(Swift_Mime_Message $message, &$failedRecipients = null)   X-Ref
Send the given Message.

Recipient/sender data will be retrieved from the Message API.
The return value is the number of recipients who were accepted for delivery.

param: Swift_Mime_Message $message
param: string[]           $failedRecipients An array of failures by-reference
return: int

registerPlugin(Swift_Events_EventListener $plugin)   X-Ref
Register a plugin.

param: Swift_Events_EventListener $plugin

_getNextTransport()   X-Ref
Rotates the transport list around and returns the first instance.

return: Swift_Transport

_killCurrentTransport()   X-Ref
Tag the currently used (top of stack) transport as dead/useless.

Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1