Description
Located in File: /vendors/swiftMailer/classes/Swift/Transport/LoadBalancedTransport.php
Redudantly and rotationally uses several Transports when sending.
Classes extended from Swift_Transport_LoadBalancedTransport:
- Swift_LoadBalancedTransport
- Redudantly and rotationally uses several Transport implementations when sending.
- Swift_Transport_FailoverTransport
- Contains a list of redundant Transports so when one fails, the next is used.
Method Detail
Summary:
Method getTransports (line 59)
array getTransports(
$transports)
Get $transports to delegate to.
Parameters
Info
- return - Swift_Transport
- access - public
Method isStarted (line 69)
boolean isStarted(
)
Implementation of:
- Swift_Transport::isStarted()
- Test if this Transport mechanism has started.
Test if this Transport mechanism has started.
Info
Method send (line 103)
int send(
Swift_Mime_Message
$message, [string[]
&$failedRecipients = null])
Overridden in child classes as:
- Swift_Transport_FailoverTransport::send()
- Send the given Message.
Implementation of:
- Swift_Transport::send()
- Send the given Message.
Send the given Message.
Recipient/sender data will be retreived from the Message API. The return value is the number of recipients who were accepted for delivery.
Parameters
- Swift_Mime_Message $message:
- string[] &$failedRecipients: to collect failures by-reference
Info
Method setTransports (line 48)
void setTransports(
$transports)
Set $transports to delegate to.
Parameters
- array $transports: Swift_Transport
Info
Method start (line 77)
void start(
)
Implementation of:
- Swift_Transport::start()
- Start this Transport mechanism.
Start this Transport mechanism.
Info
Method stop (line 85)
void stop(
)
Implementation of:
- Swift_Transport::stop()
- Stop this Transport mechanism.
Stop this Transport mechanism.
Info