[ Index ]

MailPress 7.2

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

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/ -> LoadBalancedTransport.php (summary)

(no description)

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

Defines 1 class

Swift_Transport_LoadBalancedTransport:: (12 methods):
  __construct()
  setTransports()
  getTransports()
  getLastUsedTransport()
  isStarted()
  start()
  stop()
  ping()
  send()
  registerPlugin()
  getNextTransport()
  killCurrentTransport()


Class: Swift_Transport_LoadBalancedTransport  - X-Ref

Redundantly and rotationally uses several Transports when sending.

__construct()   X-Ref
No description

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[]

getLastUsedTransport()   X-Ref
Get the Transport used in the last successful send operation.

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.


ping()   X-Ref
{@inheritdoc}


send(Swift_Mime_SimpleMessage $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: string[] $failedRecipients An array of failures by-reference
return: int

registerPlugin(Swift_Events_EventListener $plugin)   X-Ref
Register a 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: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1